[misc] mongodb: use the new db connector by default
mongojs was enabling it by default as well.
This commit is contained in:
@@ -10,6 +10,10 @@ module.exports = {
|
||||
},
|
||||
|
||||
mongo: {
|
||||
options: {
|
||||
useUnifiedTopology:
|
||||
(process.env.MONGO_USE_UNIFIED_TOPOLOGY || 'true') === 'true'
|
||||
},
|
||||
url:
|
||||
process.env.MONGO_CONNECTION_STRING ||
|
||||
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`
|
||||
|
||||
Reference in New Issue
Block a user