Browse Source

修改生产环境数据库连接

dygapp 5 years ago
parent
commit
ef32d39083
1 changed files with 5 additions and 0 deletions
  1. 5 0
      config/config.prod.js

+ 5 - 0
config/config.prod.js

@@ -8,5 +8,10 @@ module.exports = () => {
     // consoleLevel: 'DEBUG',
   };
 
+  // mongoose config
+  config.mongoose = {
+    url: 'mongodb://127.0.0.1:27018/smart',
+  };
+
   return config;
 };