Skip to content

Commit

Permalink
Set the default value of REACT_APP_EDITOR_APP_ORIGIN in the start script
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Sep 15, 2024
1 parent 146a85a commit 73faa16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sharing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"web-vitals": "^3.5.2"
},
"scripts": {
"start": "cross-env REACT_APP_EDITOR_APP_ORIGIN=http://localhost:3030 BROWSER=none craco start",
"start": "cross-env REACT_APP_EDITOR_APP_ORIGIN=${REACT_APP_EDITOR_APP_ORIGIN:=http://localhost:3030} BROWSER=none craco start",
"build": "craco build",
"test": "craco test",
"eject": "react-scripts eject"
Expand Down

0 comments on commit 73faa16

Please sign in to comment.