Update app.js

This commit is contained in:
yashraj verma 2021-06-02 17:43:25 +05:30 committed by GitHub
parent 026b8cde45
commit 22033d805b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -76,7 +76,7 @@ app.use(bodyparser.json());
// req.logout() ; // req.logout() ;
// res.redirect('/') ; // res.redirect('/') ;
// }) // })
const url = "mongodb://127.0.0.1:27017/game-of-dice";
mongoose.connect(MONGO_URI, { mongoose.connect(MONGO_URI, {
useNewUrlParser: true, useNewUrlParser: true,
useUnifiedTopology: true, useUnifiedTopology: true,