Merge branch '2.1.x' into 2.2.x
Closes gh-21070
This commit is contained in:
@@ -402,6 +402,7 @@ public class WebMvcAutoConfiguration {
|
||||
new TemplateAvailabilityProviders(applicationContext), applicationContext, getWelcomePage(),
|
||||
this.mvcProperties.getStaticPathPattern());
|
||||
welcomePageHandlerMapping.setInterceptors(getInterceptors(mvcConversionService, mvcResourceUrlProvider));
|
||||
welcomePageHandlerMapping.setCorsConfigurations(getCorsConfigurations());
|
||||
return welcomePageHandlerMapping;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user