remove port of SITE_ROOT_URL

This commit is contained in:
nosqldb 2014-03-02 14:06:35 +08:00
parent 5472fdd3ba
commit e27edcf327

View File

@ -4,7 +4,7 @@ var marked = require('marked-prettyprint');
var util = require('util');
var transport = mailer.createTransport('SMTP', config.mail_opts);
var SITE_ROOT_URL = 'http://' + config.host + (config.port !== 80 ? ':' + config.port : '');
var SITE_ROOT_URL = 'http://' + config.host;
/**
* Send an email