Skip to content

Commit

Permalink
Fix errors in 'npm start' command
Browse files Browse the repository at this point in the history
The two errors canceled each other out, as this option was ignored,
defaulting the protocol to http. Fixes bikehopper/bikehopper#6
  • Loading branch information
graue committed Sep 10, 2024
1 parent df5c806 commit 05da757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"build": "docker build -q -f Dockerfile.dev -t bikehopper-app:dev .",
"start": "npm run build && docker run -p 3001:3001 -p 9229:9229 -e PROTOCAL=https -e GRAPHHOPPER_SERVICE_NAME=api.bikehopper -e PHOTON_SERVICE_NAME=api.bikehopper -e NOMINATIM_SERVICE_NAME=api.bikehopper -e FILE_SERVICE_NAME=api.bikehopper -e NAMESPACE=staging -e HOSTNAME=techlabor.org/v1 -e NODE_ENV=development --rm -it bikehopper-app:dev",
"start": "npm run build && docker run -p 3001:3001 -p 9229:9229 -e PROTOCOL=http -e GRAPHHOPPER_SERVICE_NAME=api.bikehopper -e PHOTON_SERVICE_NAME=api.bikehopper -e NOMINATIM_SERVICE_NAME=api.bikehopper -e FILE_SERVICE_NAME=api.bikehopper -e NAMESPACE=staging -e HOSTNAME=techlabor.org/v1 -e NODE_ENV=development --rm -it bikehopper-app:dev",
"start-nodocker": "NODE_ENV=development PROTOCOL=http GRAPHHOPPER_SERVICE_NAME=localhost:8989 NAMESPACE= HOSTNAME= PORT=3001 node --inspect=127.0.0.1:9229 src/index.js",
"start-nodemon": "docker compose up --build bikehopper-web-app",
"test": "npm t"
Expand Down

0 comments on commit 05da757

Please sign in to comment.