Skip to content

Commit

Permalink
express-router
Browse files Browse the repository at this point in the history
  • Loading branch information
aahmadyar123 committed Aug 24, 2023
1 parent c349850 commit b98d107
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dotenv.config();
// require mongoose
const mongoose = require("mongoose");

//connect to remote DB
mongoose.set("debug", process.env.DEBUG);

mongoose
.connect(
"mongodb+srv://" +
Expand All @@ -38,7 +38,6 @@ mongoose
)
.catch((error) => console.log(error));

console.log("Connected to MongoDB.");

// --------------------------------------
// Services
Expand Down

0 comments on commit b98d107

Please sign in to comment.