In my spring boot project
without the context path, when I go one of the UI modules I cannot go back to the homepage. I have to manually delete path from the address bar.
is there a way to solve this without setting the server.servlet.context-path?
Why is setting
server.servlet.context-path not an option?
It’s an old backend service and we would have to change many things. So if any other way possible to solve this without context-path, it would be great.
this is the (default) method of specifying the mapping of a Spring Boot / Servlet application.
If this is not an option for you I would think of a possibility to solve this ‘outside’ the application.
For example with a reverse proxy. Or something that provides some kind of path rewrite.
Ok Yvo, thanks for the input.
Since you are here please don’t mind me asking, could you look at this post and tell me what might be wrong, if you have time.
did you solve your issue?
this is my security config
.antMatchers("/*-api/**", , "/app/**").permitAll() // would get 401 on engines in admin panel witho…