fix(api): use mongodb+srv url protocol (#38831)
parent
68ba32d356
commit
ed08ec088a
|
@ -3,6 +3,7 @@ var secrets = require('../../config/secrets');
|
|||
module.exports = {
|
||||
db: {
|
||||
connector: 'mongodb',
|
||||
protocol: 'mongodb+srv',
|
||||
connectionTimeout: 10000,
|
||||
url: secrets.db,
|
||||
useNewUrlParser: true,
|
||||
|
|
Loading…
Reference in New Issue