Skip to content

Commit

Permalink
chore: update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jan 13, 2021
1 parent 1672fe9 commit 4197edd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# Default admin/district authorization for development
REACT_APP_DHIS2_BASE_URL="http://localhost:8080"
REACT_APP_DHIS2_AUTHORIZATION="Basic YWRtaW46ZGlzdHJpY3Q="
13 changes: 6 additions & 7 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# By default CRA expects the app to be hosted at server root
# this ensures that assets are looked up relative to where
# index.html is served from
# See also: https://facebook.github.io/create-react-app/docs/using-the-public-folder
# and: https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables
# Prepended to asset paths in the generated index.html. This allows the app to still work
# when served from a nested path, like on the play server
# https://facebook.github.io/create-react-app/docs/using-the-public-folder
# https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables
PUBLIC_URL="."

# Authorization left empty intentionally for production
# The url used for api discovery. Usually concatenated with '/api' to construct the base path for
# api requests like so: `${REACT_APP_DHIS2_BASE_URL}/api/`,
REACT_APP_DHIS2_BASE_URL=".."
REACT_APP_DHIS2_AUTHORIZATION=
2 changes: 0 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# Authorization and base url should not be necessary for testing
REACT_APP_DHIS2_BASE_URL=
REACT_APP_DHIS2_AUTHORIZATION=

0 comments on commit 4197edd

Please sign in to comment.