From b13950f38cd746aa80149ab8b8f18c66a91d6b92 Mon Sep 17 00:00:00 2001 From: mariodev Date: Thu, 9 Jan 2025 17:44:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Update=20index.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/server/src/databases/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,