Skip to content

Commit 9b928f0

Browse files
committed
fix npm audit
1 parent f0e26a2 commit 9b928f0

File tree

5 files changed

+2193
-4366
lines changed

5 files changed

+2193
-4366
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const port = process.env.PORT || 8080;
1111
* Configure mongoose
1212
*/
1313
// mongoose.Promise = global.Promise;
14-
app.locals.db = mongoose.connect(process.env.DB_URL, {useNewUrlParser: true, useUnifiedTopology: true})
14+
app.locals.db = mongoose.connect( process.env.DB_URL )
1515
.then ( () => {
1616

1717
console.log("Connected to Database");

0 commit comments

Comments
 (0)