It’s been a while since I’ve written anything, for lack of time, but I think it’s necessary to remind myself that you can configure the context path of a web application in a very simple way when you build the application.
java -jar app.jar --server.servlet.context-path=/my-custom-context-path
There are more ways to do this programmatically or via annotation, but you should already be collecting code. This way is the simplest and the simple is beautiful 🙂
See you later, good afternoon.