diff --git a/app.js b/app.js index aa4e7e9..d4160ec 100644 --- a/app.js +++ b/app.js @@ -12,7 +12,7 @@ mongoose.connect( process.env.MONGO_ATLAS_PW + "@node-rest-shop-shard-00-00-wovcj.mongodb.net:27017,node-rest-shop-shard-00-01-wovcj.mongodb.net:27017,node-rest-shop-shard-00-02-wovcj.mongodb.net:27017/test?ssl=true&replicaSet=node-rest-shop-shard-0&authSource=admin", { - useMongoClient: true + useNewUrlParser: true } );