Skip to content

Instantly share code, notes, and snippets.

@GaetanoPiazzolla
Last active July 21, 2021 08:35
Show Gist options
  • Save GaetanoPiazzolla/a60a250e3b1047d34f268b4c8edddbdf to your computer and use it in GitHub Desktop.
Save GaetanoPiazzolla/a60a250e3b1047d34f268b4c8edddbdf to your computer and use it in GitHub Desktop.
The env file at runtime
(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);
@GaetanoPiazzolla
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment