Merge pull request #11659 from chaos2418/JAVA-8981
JAVA:8981: verify spring.mvc.pathmatch.matching-strategy property usage
This commit is contained in:
@@ -33,7 +33,7 @@ public class WebConfig implements WebMvcConfigurer {
|
||||
/** Static resource locations */
|
||||
@Override
|
||||
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||
registry.addResourceHandler("/resources/**/*")
|
||||
registry.addResourceHandler("/resources/**")
|
||||
.addResourceLocations("/", "/resources/")
|
||||
.setCachePeriod(3600)
|
||||
.resourceChain(true)
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
server.servlet.context-path=/spring-mvc-basics
|
||||
|
||||
spring.mvc.pathmatch.matching-strategy=ant-path-matcher
|
||||
|
||||
Reference in New Issue
Block a user