diff --git a/src/web/pug.js b/src/web/pug.js index 5aab9624..b944ed0b 100644 --- a/src/web/pug.js +++ b/src/web/pug.js @@ -13,7 +13,6 @@ function merge(locals, res) { siteTitle: Config.get("html-template.title"), siteDescription: Config.get("html-template.description"), siteAuthor: "Calvin 'calzoneman' 'cyzon' Montgomery", - domain: res.req.header("host"), loginDomain: Config.get("https.enabled") ? Config.get("https.full-address") : Config.get("http.full-address"), csrfToken: typeof res.req.csrfToken === 'function' ? res.req.csrfToken() : '', diff --git a/templates/account-channels.pug b/templates/account-channels.pug index 123baef6..f756b483 100644 --- a/templates/account-channels.pug +++ b/templates/account-channels.pug @@ -57,7 +57,7 @@ html(lang="en") .form-group label.control-label(for="channelname") Channel URL .input-group - span.input-group-addon #{domain}/r/ + span.input-group-addon #{baseUrl}/r/ input#channelname.form-control(type="text", name="name", maxlength="30", onkeyup="checkChannel()") p#validate_channel.text-danger.pull-right button#register.btn.btn-primary.btn-block(type="submit") Register