Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
HACK add react env variable to package.json build script
Browse files Browse the repository at this point in the history
as a stopgap, explicitly set the websocket endpoint when running yarn build.  this should be replaced with a cleaner solution
  • Loading branch information
AddressXception committed Dec 11, 2019
1 parent a571985 commit 534eaef
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 @@ -44,7 +44,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "REACT_APP_SCANNER_ENDPOINT=ws://localhost:3001 react-scripts build",
"test": "react-scripts test",
"test:ci": "react-scripts test --ci --watchAll=false",
"test:coverage": "react-scripts test --coverage --watchAll=false",
Expand Down

0 comments on commit 534eaef

Please sign in to comment.