DigitalState / Admin

The DigitalState Administration Spa
MIT License
3 stars 1 forks source link

Update app workflow to load API endpoints from the discovery API #75

Closed baddlan closed 6 years ago

baddlan commented 6 years ago

Currently, API endpoints are passed to the Docker container during deployment as environment variables, which are in turn injected directly into the global scope of the app's code.

This needs to change so only the discovery API's endpoint is passed as env variable that can be used to fetch the other endpoints via HTTP request during app initialization.