iits-consulting / charts

Common helm charts we use
GNU General Public License v3.0
14 stars 7 forks source link

iits-admin-dashboard cannot handle PathPrefix on non-root paths #79

Closed krankkkk closed 9 months ago

krankkkk commented 10 months ago

If you set the ingressRoute.pathPrefix to something that is not "/" you will only get an 404 as the underlying image can only handle request for the root "/"

I.e. set ingressRoute.pathPrefix to /admin and you will get a 404

So either tell the underlying image to always send the index.html (Might be a problem for local images/css) Or add a strip-prefix middleware so the request will be answered correctly (Might also need to add the pathPrefix to image/css paths then)

victorgetz commented 9 months ago

Should be fixed pls try again