|
|
|
@ -110,7 +110,7 @@ before(function (done) {
|
|
|
|
|
nconf.set('secure', urlObject.protocol === 'https:');
|
|
|
|
|
nconf.set('use_port', !!urlObject.port);
|
|
|
|
|
nconf.set('relative_path', relativePath);
|
|
|
|
|
nconf.set('port', urlObject.port || nconf.get('port') || nconf.get('PORT') || (nconf.get('PORT_ENV_VAR') ? nconf.get(nconf.get('PORT_ENV_VAR')) : false) || 4567);
|
|
|
|
|
nconf.set('port', urlObject.port || nconf.get('port') || (nconf.get('PORT_ENV_VAR') ? nconf.get(nconf.get('PORT_ENV_VAR')) : false) || 4567);
|
|
|
|
|
nconf.set('upload_path', path.join(nconf.get('base_dir'), nconf.get('upload_path')));
|
|
|
|
|
|
|
|
|
|
nconf.set('core_templates_path', path.join(__dirname, '../../src/views'));
|
|
|
|
|