lrf402788946 3 years ago
parent
commit
7b59934040
2 changed files with 1 additions and 5 deletions
  1. 0 4
      config/config.prod.js
  2. 1 1
      server.js

+ 0 - 4
config/config.prod.js

@@ -7,10 +7,6 @@ module.exports = () => {
     level: 'DEBUG',
     consoleLevel: 'DEBUG',
   };
-  // 服务器发布路径
-  config.baseUrl = 'http://jytz.jilinjobs.cn';
-
-
   // mongoose config
   config.mongoose = {
     url: 'mongodb://127.0.0.1:27017/mission',

+ 1 - 1
server.js

@@ -2,7 +2,7 @@
 // eslint-disable-next-line strict
 const egg = require('egg');
 
-const workers = Number(process.argv[2] || require('os').cpus().length);
+const workers = Number(2);
 egg.startCluster({
   workers,
   baseDir: __dirname,