ya zahra
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@ mongoose.plugin((schema) => {
|
||||
// mongodb database connection string. change it as per your needs. here "mydb" is the name of the database. You don't need to create DB from mongodb terminal. mongoose create the database automatically.
|
||||
// mongoose.connect('mongodb://localhost:27017/bargrest_barg', {
|
||||
mongoose.connect(
|
||||
"mongodb://root:asrerb6udsf13sdfb6@srv-captain--danak-mongo-2:27017/bargrest_bargtest?authSource=admin",
|
||||
// "mongodb://root:asrerb6udsf13sdfb6@db-public-danak.run.danakcorp.com:21365/bargrest_bargtest?authSource=admin",
|
||||
"mongodb://root:asrerb6udsf13sdfb6@srv-captain--danak-mongo-2:27017/bargrest_bargtest?authSource=admin",
|
||||
{
|
||||
useNewUrlParser: true,
|
||||
useUnifiedTopology: true,
|
||||
|
||||
Reference in New Issue
Block a user