lrf402788946 4 anos atrás
pai
commit
fb88584ab8
3 arquivos alterados com 18 adições e 18 exclusões
  1. 1 1
      config/config.default.js
  2. 16 16
      config/config.local.js
  3. 1 1
      config/config.prod.js

+ 1 - 1
config/config.default.js

@@ -53,7 +53,7 @@ module.exports = appInfo => {
   //     hostname: '127.0.0.1',
   //     username: 'visit',
   //     password: 'visit',
-  //     vhost: 'visit',
+  //     vhost: 'platform',
   //   },
   //   app: true,
   //   agent: true,

+ 16 - 16
config/config.local.js

@@ -11,25 +11,25 @@ module.exports = () => {
   config.mongoose = {
     url: 'mongodb://localhost:27017/platform',
     options: {
-      user: 'platform',
-      pass: 'platform2020',
-      authSource: 'admin',
-      useNewUrlParser: true,
-      useCreateIndex: true,
-      useUnifiedTopology: true,
+      // user: 'platform',
+      // pass: 'platform2020',
+      // authSource: 'admin',
+      // useNewUrlParser: true,
+      // useCreateIndex: true,
+      // useUnifiedTopology: true,
     },
   };
 
-  config.amqp = {
-    client: {
-      hostname: '127.0.0.1',
-      username: 'wy',
-      password: '1',
-      vhost: 'smart',
-    },
-    app: true,
-    agent: true,
-  };
+  // config.amqp = {
+  //   client: {
+  //     hostname: '127.0.0.1',
+  //     username: 'wy',
+  //     password: '1',
+  //     vhost: 'smart',
+  //   },
+  //   app: true,
+  //   agent: true,
+  // };
 
   return config;
 };

+ 1 - 1
config/config.prod.js

@@ -25,7 +25,7 @@ module.exports = () => {
       hostname: '127.0.0.1',
       username: 'visit',
       password: 'visit',
-      vhost: 'visit',
+      vhost: 'platform',
     },
     app: true,
     agent: true,