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:
VakarisZ 2021-10-28 11:36:37 +03:00
parent 953816b536
commit 7f903efb07
1 changed files with 1 additions and 1 deletions

View File

@ -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"
},