fix(api): use mongodb+srv url protocol (#38831)

pull/38852/head
Mrugesh Mohapatra 2020-05-19 21:52:05 +05:30 committed by GitHub
parent 68ba32d356
commit ed08ec088a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ var secrets = require('../../config/secrets');
module.exports = {
db: {
connector: 'mongodb',
protocol: 'mongodb+srv',
connectionTimeout: 10000,
url: secrets.db,
useNewUrlParser: true,