Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Nawafds committed Nov 30, 2023
2 parents ff9a997 + 0748bc3 commit 7a83a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,4 @@ cloud_functions/functions/scripts/JSON_data/testnaacpdata.json
cloud_functions/functions/scripts/JSON_data/naacpdata.json
cloud_functions/functions/scripts/JSON_data/new_naacp.json
cloud_functions/functions/config.js
MongoDB/src/JSON_data/census.json
2 changes: 1 addition & 1 deletion backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const connectWithMongoDB = async (
const contextWrapper: ContextWrapperFunction = async () => {
// Context Metadata

const mongo_url = process.env.NAACP_MONGODB || "mongodb://localhost:27017"; // Local development
const mongo_url = process.env.NAACP_MONGODB || "mongodb+srv://naacpUser:[email protected]/"; // Local development

// const mongo_url = process.env.NAACP_MONGODB || "mongodb://mongo:[email protected]:8024"; // Local development
// const mongo_url = process.env.NAACP_MONGODB;
Expand Down

0 comments on commit 7a83a28

Please sign in to comment.