mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 12:01:17 +01:00
show correct path on windows
This commit is contained in:
3
app.js
3
app.js
@@ -64,8 +64,9 @@ winston.info('This is free software, and you are welcome to redistribute it unde
|
||||
winston.info('');
|
||||
|
||||
// Alternate configuration file support
|
||||
var configFile = __dirname + '/config.json',
|
||||
var configFile = path.join(__dirname, '/config.json'),
|
||||
configExists;
|
||||
|
||||
if (nconf.get('config')) {
|
||||
configFile = path.resolve(__dirname, nconf.get('config'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user