Added debug mode for mongoose
This commit is contained in:
parent
19da44f781
commit
ed5743d1f0
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ mongoose.set('useNewUrlParser', true)
|
||||||
mongoose.set('useUnifiedTopology', true)
|
mongoose.set('useUnifiedTopology', true)
|
||||||
mongoose.set('useFindAndModify', false)
|
mongoose.set('useFindAndModify', false)
|
||||||
mongoose.set('useCreateIndex', true)
|
mongoose.set('useCreateIndex', true)
|
||||||
mongoose.set('debug', true)
|
|
||||||
|
|
||||||
mongoose.connect(process.env.MONGO_URL)
|
mongoose.connect(process.env.MONGO_URL)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue