Update app.js
This commit is contained in:
parent
026b8cde45
commit
22033d805b
2
app.js
2
app.js
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue