diff --git a/packages/server/src/databases/index.ts b/packages/server/src/databases/index.ts index 6a13ea3ff..35d8f895a 100644 --- a/packages/server/src/databases/index.ts +++ b/packages/server/src/databases/index.ts @@ -8,9 +8,9 @@ console.log('Database:', name); console.log('Password length:', password?.length); export const dbConnection = { - //rl: `mongodb://${user}:${password}@${host}/${name}?authSource=admin&retryWrites=true&w=majority`, + url: `mongodb://${user}:${password}@${host}/${name}?authSource=admin&retryWrites=true&w=majority`, // For local development use this url - url: `mongodb+srv://${user}:${password}@${host}/${name}?authSource=admin`, + // url: `mongodb+srv://${user}:${password}@${host}/${name}?authSource=admin`, options: { useNewUrlParser: true, useUnifiedTopology: true,