You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the WelcomePageHandlerMapping is used to resolve the index.html from Thymeleaf and spring.resources.chain.strategy.content.enabled=true is set then the resolving of the th:src and th:href does not work as expected. The reason for that is that the ResourceUrlEncodingRequestWrapper does not have the ResourceUrlProvider set. The reason for it not having set is that ResourceUrlProviderExposingInterceptor is not in the WelcomePageHandlerMapping.
If I add a @Controller that maps on / then everything works as expected.