Created
July 21, 2021 08:04
-
-
Save GaetanoPiazzolla/c6a98f9465c470d0f9762d95be7292bb to your computer and use it in GitHub Desktop.
Env template to create env.js file
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 = "${ENV_API_BACKEND_URL}"; | |
window["env"].EXTERNAL_INTEGRATION_URL = "${ENV_EXTERNAL_INTEGRATION_URL}"; | |
})(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