mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-13 04:06:20 +02: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