修改端口号,和启动程序

This commit is contained in:
sin 2019-03-26 13:19:46 +08:00
parent 30c2379a7c
commit a81fba1e77
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "admin-web", "name": "admin-web",
"script": "./server.prod.js", "script": "./server.prod.js",
"instances": "2", "instances": "1",
"env": { "env": {
"NODE_ENV": "development" "NODE_ENV": "development"
}, },

View File

@ -7,7 +7,7 @@ const proxyBuild = require('./utils/proxy.build');
// create app server // create app server
const app = express(); const app = express();
const port = 3000; const port = 3100;
// host proxy // host proxy
app.use(proxyBuild(proxyConfig)); app.use(proxyBuild(proxyConfig));