Until now, the front had to know at build time the url of the backend to be able to communicate with it.
It is not optimal because it means that we need multiple docker image (1 per environment) to have the app working, it is not very flexible.
This PR will make the frontend "environment free" by determining these urls at runtime.
Purpose
Until now, the front had to know at build time the url of the backend to be able to communicate with it. It is not optimal because it means that we need multiple docker image (1 per environment) to have the app working, it is not very flexible. This PR will make the frontend "environment free" by determining these urls at runtime.
Proposal