I cant get Angular proxy to work, when i change the base path of the app. Here it is /ui/
:
The app shows when I open http://localhost:4200/ui. My proxy config shows like this:
{
"/api/*": {
"target": "http://127.0.0.1:8080",
"secure": false,
"changeOrigin": false,
"ws": true
},
"logLevel": "debug"
}
I get a 404 when I call http://localhost:4200/ui/api or http://localhost:4200/api. Also when I change the proxy config to /ui/api/*: {
It worked before I changed the basepath.
Any help appreciated.