-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ismay
committed
Jan 13, 2021
1 parent
1672fe9
commit 4197edd
Showing
3 changed files
with
6 additions
and
11 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,3 +1 @@ | ||
# Default admin/district authorization for development | ||
REACT_APP_DHIS2_BASE_URL="http://localhost:8080" | ||
REACT_APP_DHIS2_AUTHORIZATION="Basic YWRtaW46ZGlzdHJpY3Q=" |
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,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= |
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,3 +1 @@ | ||
# Authorization and base url should not be necessary for testing | ||
REACT_APP_DHIS2_BASE_URL= | ||
REACT_APP_DHIS2_AUTHORIZATION= |