diff options
Diffstat (limited to 'part4/blog/src/index.js')
-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") |