Update database.js

This commit is contained in:
Mahyar
2024-10-12 15:16:56 +03:30
committed by GitHub
parent 8cf0492c87
commit c0e4ac0cbb
+1 -1
View File
@@ -15,7 +15,7 @@ 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. // 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://negareh1_admin:admin1234@www.negareh-demo.ir:27017/negareh1_oris?serverSelectionTimeoutMS=5000&connectTimeoutMS=10000&authSource=negareh1_oris', { // mongoose.connect('mongodb://negareh1_admin:admin1234@www.negareh-demo.ir:27017/negareh1_oris?serverSelectionTimeoutMS=5000&connectTimeoutMS=10000&authSource=negareh1_oris', {
mongoose.connect('mongodb://root:UuPYfG7G6pFqWLW0gOya9oYt@grande-casse.liara.cloud:32644/orisoxin?authSource=admin', { mongoose.connect('mongodb://root:asrerb6udsf13sdfb6@srv-captain--danak-mongo-2:27017/orisoxin?authSource=admin', {
// mongoose.connect('mongodb://localhost:27017/OrisOxin', { // mongoose.connect('mongodb://localhost:27017/OrisOxin', {
useNewUrlParser: true, useNewUrlParser: true,
useUnifiedTopology: true, useUnifiedTopology: true,