|
|
@ -99,7 +99,6 @@ function setupConfigs() {
|
|
|
|
nconf.set('use_port', !!urlObject.port);
|
|
|
|
nconf.set('use_port', !!urlObject.port);
|
|
|
|
nconf.set('relative_path', relativePath);
|
|
|
|
nconf.set('relative_path', relativePath);
|
|
|
|
nconf.set('port', nconf.get('PORT') || nconf.get('port') || urlObject.port || (nconf.get('PORT_ENV_VAR') ? nconf.get(nconf.get('PORT_ENV_VAR')) : false) || 4567);
|
|
|
|
nconf.set('port', nconf.get('PORT') || nconf.get('port') || urlObject.port || (nconf.get('PORT_ENV_VAR') ? nconf.get(nconf.get('PORT_ENV_VAR')) : false) || 4567);
|
|
|
|
nconf.set('upload_url', '/assets/uploads');
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function printStartupInfo() {
|
|
|
|
function printStartupInfo() {
|
|
|
|