Skip to content

Commit

Permalink
backend
Browse files Browse the repository at this point in the history
  • Loading branch information
parvg555 committed Oct 30, 2022
1 parent b45eb1a commit 89552d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ app.use('/procedure',proceduresData);
app.use('/supply',suppliesData);
app.use('/medication',medicatonsData);

// const connection_url = `mongodb+srv://${DBusername}:${DBpassword}@${DBname}.${DBcluster}.mongodb.net/?retryWrites=true&w=majority`;
const connection_url = `mongodb+srv://${DBusername}:${DBpassword}@${DBname}.${DBcluster}.mongodb.net/?retryWrites=true&w=majority`;

const connection_url = "mongodb://127.0.0.1:27017/stratethon4";
// const connection_url = "mongodb://127.0.0.1:27017/stratethon4";

mongoose
.connect(connection_url)
Expand Down

0 comments on commit 89552d3

Please sign in to comment.