Browse Source

增加生产环境数据库配置

dygapp 5 years ago
parent
commit
dfcbb88d8a
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',
     // consoleLevel: 'DEBUG',
   };
   };
 
 
+  // mongoose config
+  config.mongoose = {
+    url: 'mongodb://127.0.0.1:27018/smart',
+  };
+
   return config;
   return config;
 };
 };