Skip to content

Commit

Permalink
Update connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 committed Dec 4, 2023
1 parent 825973b commit 32c2587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/data/mongo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def get_conn_str(password: str, database: str) -> str:
return f"mongodb://root:{password}@backend-shard-00-00.aqlpb.mongodb.net:27017,backend-shard-00-01.aqlpb.mongodb.net:27017,backend-shard-00-02.aqlpb.mongodb.net:27017/{database}?ssl=true&replicaSet=atlas-25pkcv-shard-0&authSource=admin&retryWrites=true&w=majority"
return f"mongodb+srv://root:{password}@backend.aqlpb.mongodb.net/?retryWrites=true&w=majority"


if LOCAL:
Expand Down

1 comment on commit 32c2587

@vercel
Copy link

@vercel vercel bot commented on 32c2587 Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.