diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 70d5f7e913..c5e8f8b2a3 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1806,11 +1806,11 @@ Spring decides not to handle it. Most of the time this will not happen (unless y the default MVC configuration) because Spring will always be able to handle requests through the `DispatcherServlet`. - -By default, resources are mapped on `/**` but you can tune that via +By default, resources are mapped on `+/**+` but you can tune that via `spring.mvc.static-path-pattern`. For instance, relocating all resources to `/resources/**` can be achieved as follows: +[source,properties,indent=0,subs="verbatim,quotes,attributes"] ---- spring.mvc.static-path-pattern=/resources/** ----