Skip to content
This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Commit

Permalink
fix(frontend): only hardcode env vars for development
Browse files Browse the repository at this point in the history
REACT_APP_VERSION is not used and maintained right now
  • Loading branch information
coderbyheart committed Sep 9, 2021
1 parent c322294 commit 58e70ba
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions frontend/.env
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# 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
REACT_APP_GRAPHQL_URL="http://localhost:3000/graphql"

0 comments on commit 58e70ba

Please sign in to comment.