This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frontend): only hardcode env vars for development
REACT_APP_VERSION is not used and maintained right now
- Loading branch information
1 parent
c322294
commit 1ffb1e2
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,2 @@ | ||
# Access the package.json's version through process.env | ||
REACT_APP_VERSION=$npm_package_version | ||
|
||
# The URL where the server runs | ||
REACT_APP_SERVER_URL="http://localhost:3000" | ||
|
||
# The URL where the Apollo server runs | ||
REACT_APP_GRAPHQL_URL="http://localhost:3000/graphql" | ||
|
||
# See this issue https://github.com/facebook/create-react-app/issues/1795#issuecomment-357353472 | ||
SKIP_PREFLIGHT_CHECK=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# The URL where the server runs | ||
REACT_APP_SERVER_URL="http://localhost:3000" | ||
|
||
# The URL where the Apollo server runs | ||
REACT_APP_GRAPHQL_URL="http://localhost:3000/graphql" |