summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-04 15:00:22 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-04 15:00:49 +0800
commitbcc5435732dbc13940ce8bb624644f087a81809c (patch)
tree6d4711c2c9e9ae4be232c5f150b95683e5edfe55
parent444e53d8ea2f15d60c29e68a1883ee91ca5ee367 (diff)
feat: modify proxy configuration
Change-Id: Ifed89ccb285b0d25c45ec5a176c3843437e1dcb9 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/package.json b/usecaseui-portal/package.json
index fb08ed80..067fe771 100644
--- a/usecaseui-portal/package.json
+++ b/usecaseui-portal/package.json
@@ -5,14 +5,14 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
- "server": "ng serve --host='0.0.0.0' --proxy-config proxy.conf.json",
+ "server": "ng serve --proxy-config proxy.conf.json",
"build": "ng build --prod --aot",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
- "mockproxy": "ng serve --host='0.0.0.0' --proxy-config localproxy.conf.json",
+ "mockproxy": "ng serve --proxy-config localproxy.conf.json",
"mockconfig": "node ./src/app/mock/server.js --port 3002",
- "mock": "npm run mockconfig & npm run mockproxy",
+ "mock": "npm run mockconfig | npm run mockproxy",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"private": true,