Mise à jour des environnements
This commit is contained in:
@@ -58,6 +58,7 @@ if(isProduction){
|
||||
console.log(`${utils.getDateTimeISOString()}`, chalk.red('Unable to connect to the MongoDB database'));
|
||||
});
|
||||
mongoose.set('debug', process.env.DEBUG);
|
||||
console.log(`${utils.getDateTimeISOString()}`, chalk.red('debug :'), chalk.yellow(process.env.DEBUG));
|
||||
}
|
||||
require('./models/mongo/User');
|
||||
require('./models/mongo/Application');
|
||||
|
||||
Reference in New Issue
Block a user