second pass, #1984

v1.18.x
Julian Lam 10 years ago
parent d5e473609c
commit d430ef3983

@ -149,6 +149,7 @@ function start() {
var urlObject = url.parse(nconf.get('url')); var urlObject = url.parse(nconf.get('url'));
nconf.set('use_port', !!urlObject.port); nconf.set('use_port', !!urlObject.port);
nconf.set('relative_path', urlObject.pathname); nconf.set('relative_path', urlObject.pathname);
nconf.set('port', nconf.get('port') || nconf.get('PORT') || 4567);
async.waterfall([ async.waterfall([
async.apply(plugins.ready), async.apply(plugins.ready),

File diff suppressed because it is too large Load Diff

@ -34,7 +34,7 @@ if(nconf.get('ssl')) {
(function (app) { (function (app) {
"use strict"; "use strict";
var port = nconf.get('port') || nconf.get('PORT') || 4567; var port = nconf.get('port');
logger.init(app); logger.init(app);
emailer.registerApp(app); emailer.registerApp(app);

Loading…
Cancel
Save