diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-06-18 01:58:35 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-06-18 01:58:35 -0400 |
commit | dfd1d02942d7542f98188d5df77eafdeba6b3b2e (patch) | |
tree | 4e95e92cbb2e118258b00c9c23e9785edaf8522e | |
parent | cbaabb55447e63a1fc0248fe3a2b5bb47eb71735 (diff) |
mend
-rw-r--r-- | part4/blog/src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/part4/blog/src/index.js b/part4/blog/src/index.js index ba267a3..f9dbf0d 100644 --- a/part4/blog/src/index.js +++ b/part4/blog/src/index.js @@ -13,7 +13,7 @@ const blogSchema = new mongoose.Schema({ const Blog = mongoose.model('Blog', blogSchema) console.log("Connecting to mongo server") -const mongoUrl = 'mongodb+srv://imkusa:Ukj3Ks51qPJ2aa8w@cluster0.aookaoo.mongodb.net/?retryWrites=true&w=majority' +const mongoUrl = 'mongodb+srv://imkusa:<Password>@cluster0.aookaoo.mongodb.net/?retryWrites=true&w=majority' mongoose.connect(mongoUrl) console.log("Successfully connected to mongo server") |