Skip to content

Commit

Permalink
πŸš‘ Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO authored Jan 9, 2025
1 parent 80df962 commit b13950f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/src/databases/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b13950f

Please sign in to comment.