mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
remove port of SITE_ROOT_URL
This commit is contained in:
parent
5472fdd3ba
commit
e27edcf327
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user