Add an ENV var to be able to specify the backend host
Opened this issue · 1 comments
o10s commented
Description
In my Homelab I deploy things with Kubernetes and I like to have things separated.
One part will contain the backend and another the frontend, all of the exposed via what is called a service.
In Kubernetes an app will connect to another one via a service usually via a URL like http://service.namespace.svc.cluster.local
However here we can't add our own URL for the backend, something like BACKEND_HOST or something where I could add that URL, as of now the frontend will query for "teemii-backend" exclusively.
Sadly I don't know how to code with JS so I don't know how to modify your code to do so but should be doable.
Desired Behavior
Provide a BACKEND_HOST to be able to specify the backend url for the frontend app.
Additional Context
No response
Code of Conduct
- I agree to follow Teemii's Code of Conduct