We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdd5edb commit ee8499aCopy full SHA for ee8499a
app.js
@@ -16,7 +16,7 @@ const Note=require("./notes")
16
17
18
const connect = async function () {
19
- const uri = "mongodb+srv://vineetk242000:[email protected]/User?retryWrites=true&w=majority"; // Will return DB URI
+ const uri = [Your Database Url]; // Will return DB URI
20
console.log(`Connecting to DB - uri: ${uri}`);
21
return mongoose.connect(uri, {useNewUrlParser: true});
22
};
0 commit comments