mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-20 22:43:01 +01:00
default to prod
This commit is contained in:
@@ -86,6 +86,9 @@ nconf.argv(opts).env({
|
||||
separator: '__',
|
||||
});
|
||||
|
||||
process.env.NODE_ENV = process.env.NODE_ENV || 'production';
|
||||
global.env = process.env.NODE_ENV || 'production';
|
||||
|
||||
prestart.setupWinston();
|
||||
|
||||
// Alternate configuration file support
|
||||
|
||||
Reference in New Issue
Block a user