-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set REACT_APP _API_ENDPOINT and _AUTHENTICATION_URL as props (#1124)
## Issue Closes RaspberryPiFoundation/learner-experience-integration-tests#5 ## Description * Changed how both utils function: * `src/utils/apiCallHandler.js` * `src/utils/userManager.js` * I've considered how best to adapt these helpers - I could have gone with classes or functions, and while I considered changing these to be classes, this would require more verbose invocation throughout the codebase which ended up making code harder to read, whereas the function-based approach means most calls can be left as-is. * `public/index.html` added which provides a handy link to the web-component.html rather than just a directory listing * Removed a load of code that isn't used any more --------- Co-authored-by: Scott Adams <[email protected]> Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com> Co-authored-by: Lois Wells <[email protected]> Co-authored-by: Lois Wells <[email protected]>
- Loading branch information
1 parent
932880d
commit 817e28c
Showing
53 changed files
with
400 additions
and
2,451 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,10 +1,9 @@ | ||
REACT_APP_AUTHENTICATION_CLIENT_ID='editor-dev' | ||
REACT_APP_AUTHENTICATION_URL='http://localhost:9001' | ||
REACT_APP_SENTRY_DSN='' | ||
REACT_APP_SENTRY_ENV='local' | ||
PUBLIC_URL='http://localhost:3011' | ||
ASSETS_URL='http://localhost:3011' | ||
REACT_APP_API_ENDPOINT='http://localhost:3009' | ||
REACT_APP_GOOGLE_TAG_MANAGER_ID='' | ||
REACT_APP_API_ENDPOINT='http://localhost:3009' | ||
REACT_APP_PLAUSIBLE_DATA_DOMAIN='' | ||
REACT_APP_PLAUSIBLE_SOURCE='' |
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
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
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,4 @@ | ||
<h1>You may be looking for...</h1> | ||
<ul> | ||
<li>Web Component test page <a href="http://localhost:3011/web-component.html">http://localhost:3011/web-component.html</a></li> | ||
</ul> |
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.