From a81fba1e7766a32082173e1ecd973df9a07456a2 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Tue, 26 Mar 2019 13:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=AF=E5=8F=A3=E5=8F=B7?= =?UTF-8?q?=EF=BC=8C=E5=92=8C=E5=90=AF=E5=8A=A8=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile-web/server/pm2.json | 2 +- mobile-web/server/server.prod.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile-web/server/pm2.json b/mobile-web/server/pm2.json index 5dec00dbc..91d0ee582 100644 --- a/mobile-web/server/pm2.json +++ b/mobile-web/server/pm2.json @@ -1,7 +1,7 @@ { "name": "admin-web", "script": "./server.prod.js", - "instances": "2", + "instances": "1", "env": { "NODE_ENV": "development" }, diff --git a/mobile-web/server/server.prod.js b/mobile-web/server/server.prod.js index b7c8acde0..a9c1f818f 100644 --- a/mobile-web/server/server.prod.js +++ b/mobile-web/server/server.prod.js @@ -7,7 +7,7 @@ const proxyBuild = require('./utils/proxy.build'); // create app server const app = express(); -const port = 3000; +const port = 3100; // host proxy app.use(proxyBuild(proxyConfig));