fix(core): fixed announce url issue

This commit is contained in:
OldHawk
2018-01-21 15:23:40 +08:00
parent afc3cce920
commit 915992909a
5 changed files with 18 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ exports.signup = function (req, res) {
if (config.secure && config.secure.ssl === true) {
httpTransport = 'https://';
}
var baseUrl = req.app.get('domain') || httpTransport + req.headers.host;
var baseUrl = httpTransport + req.headers.host;
res.render(path.resolve('modules/users/server/templates/sign-up-active-email'), {
name: user.displayName,
appName: config.app.title,