Project: open correct web address when starting UI in development mode (npm start)
When UI is started in development mode, browser window is opened to 0.0.0.0:8000, instead it should be local-ip:8000. This commit fixes this problem
This commit is contained in:
parent
953816b536
commit
7f903efb07
|
@ -15,7 +15,7 @@
|
|||
"release:patch": "npm version patch && npm publish && git push --follow-tags",
|
||||
"serve": "node server.js --env=dev",
|
||||
"serve:dist": "node server.js --env=dist",
|
||||
"start": "webpack-dev-server --mode development --open --history-api-fallback --port 8000",
|
||||
"start": "webpack-dev-server --mode development --open --history-api-fallback --port 8000 --host local-ip",
|
||||
"snyk-protect": "snyk protect",
|
||||
"prepare": "npm run snyk-protect"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue