mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
fix process.env.url if it was changed
This commit is contained in:
@@ -104,7 +104,7 @@ function setupConfigs() {
|
||||
|
||||
function printStartupInfo() {
|
||||
if (nconf.get('isPrimary') === 'true') {
|
||||
winston.info('Initializing NodeBB v%s', nconf.get('version'));
|
||||
winston.info('Initializing NodeBB v%s %s', nconf.get('version'), nconf.get('url'));
|
||||
|
||||
var host = nconf.get(nconf.get('database') + ':host');
|
||||
var storeLocation = host ? 'at ' + host + (host.indexOf('/') === -1 ? ':' + nconf.get(nconf.get('database') + ':port') : '') : '';
|
||||
|
||||
Reference in New Issue
Block a user