lrf402788946 4 سال پیش
والد
کامیت
8a482f5eec
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      config/config.prod.js

+ 2 - 2
config/config.prod.js

@@ -10,16 +10,16 @@ module.exports = () => {
 
   // mongoose config
   config.mongoose = {
-    url: 'mongodb://localhost:27017/servicezhwl',
+    url: 'mongodb://127.0.0.1:27017/servicezhwl',
     options: {
       user: 'admin',
       pass: 'admin',
       authSource: 'admin',
+      useUnifiedTopology: true,
       useNewUrlParser: true,
       useCreateIndex: true,
     },
   };
-
   // redis config
   config.redis = {
     client: {