Mise à jour des environnements

This commit is contained in:
Rampeur
2024-03-06 17:32:35 +01:00
parent 0bed64001b
commit 9fd334bbe7
8 changed files with 9 additions and 50 deletions
+1
View File
@@ -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');