修改端口号,和启动程序
This commit is contained in:
parent
30c2379a7c
commit
a81fba1e77
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user