From dfd1d02942d7542f98188d5df77eafdeba6b3b2e Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sun, 18 Jun 2023 01:58:35 -0400 Subject: mend --- part4/blog/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:@cluster0.aookaoo.mongodb.net/?retryWrites=true&w=majority' mongoose.connect(mongoUrl) console.log("Successfully connected to mongo server") -- cgit v1.2.3