Added debug mode for mongoose

This commit is contained in:
dbroqua 2020-01-07 16:35:41 +01:00
parent 19da44f781
commit ed5743d1f0

View file

@ -8,7 +8,6 @@ mongoose.set('useNewUrlParser', true)
mongoose.set('useUnifiedTopology', true)
mongoose.set('useFindAndModify', false)
mongoose.set('useCreateIndex', true)
mongoose.set('debug', true)
mongoose.connect(process.env.MONGO_URL)