instructing wsrv to start with 0.0.0.0 instead that with localhost, will make it compatible with the docker container

This commit is contained in:
Enzo Rivello 2016-07-29 15:36:36 +01:00
parent 0d5274f54c
commit 53e0957831

View File

@ -9,7 +9,7 @@
"start": "npm run tslint && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ", "start": "npm run tslint && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ",
"tsc": "tsc", "tsc": "tsc",
"tsc:w": "tsc -w", "tsc:w": "tsc -w",
"serve": "wsrv -o -s -l -p 3000 -x ./server/versions.js", "serve": "wsrv -o -s -l -p 3000 -a 0.0.0.0 -x ./server/versions.js",
"typings": "typings install", "typings": "typings install",
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json app/{,**/}**.ts", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json app/{,**/}**.ts",
"licensecheck": "license-check" "licensecheck": "license-check"