spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

Welcome pages not mapped when using different servlet path

Open philwebb opened this issue 11 years ago • 1 comments

The forward route added by the MVC auto-configuration for welcome pages doesn't include the servlet path. If you add the following to application.properties:

server.servlet-path=/home/*

And have a static/index.html you can't hit it from /home only /home/index.html.

philwebb avatar Jan 13 '15 19:01 philwebb

Is someone from you guys already working on that? If not, i would try to dig deeper and fix it.

mdoninger avatar Jan 17 '15 18:01 mdoninger