Skip to content

Commit ee8499a

Browse files
Update app.js
1 parent cdd5edb commit ee8499a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Note=require("./notes")
1616

1717

1818
const connect = async function () {
19-
const uri = "mongodb+srv://vineetk242000:[email protected]/User?retryWrites=true&w=majority"; // Will return DB URI
19+
const uri = [Your Database Url]; // Will return DB URI
2020
console.log(`Connecting to DB - uri: ${uri}`);
2121
return mongoose.connect(uri, {useNewUrlParser: true});
2222
};

0 commit comments

Comments
 (0)