Last active
July 21, 2021 08:35
-
-
Save GaetanoPiazzolla/a60a250e3b1047d34f268b4c8edddbdf to your computer and use it in GitHub Desktop.
The env file at runtime
This file contains hidden or 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
(function (window) { | |
window["env"] = window["env"] || {}; | |
window["env"].API_BACKEND_URL = 'http://localhost:8080/bananas'; // not actualized, for local testing | |
window["env"].EXTERNAL_INTEGRATION_URL = 'http://www.integration.com/easy'; // not actualized, for local testing | |
})(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to medium article:
Update Angular/React environment dynamically reading variables from Kubernetes ConfigMaps