React app makes REST api requests to the wrong URL when using a windows server proxy
I’m hosting a Springboot app with a React frontend on a windows server by running the jar on it. The apps DNS gets resolved to “app.local“. This works fine in my company’s local network. The App and api share the same url so every time a request gets send it goes to “app.local/api/...”.