ed-roh/fullstack-admin

useNewUrlParser and useUnifiedTopology are deprecated

Opened this issue · 1 comments

In Index.js file appears
const PORT = process.env.PORT || 9000;
mongoose
.connect(process.env.MONGO_URL, {
useNewUrlParser: true,
useUnifiedTopology: true,
})

but those two have been deprecated and when running the server shows a warning

To solve it you can delete those two lines or put them as false or comment them