From 22033d805b792d67fe4e8ce4ace017d934c5cff6 Mon Sep 17 00:00:00 2001 From: yashraj verma Date: Wed, 2 Jun 2021 17:43:25 +0530 Subject: [PATCH] Update app.js --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 509d11d..39e085a 100644 --- a/app.js +++ b/app.js @@ -76,7 +76,7 @@ app.use(bodyparser.json()); // req.logout() ; // res.redirect('/') ; // }) -const url = "mongodb://127.0.0.1:27017/game-of-dice"; + mongoose.connect(MONGO_URI, { useNewUrlParser: true, useUnifiedTopology: true,