From 6ecb525a57da8c9098c7cb491fc31bbd2a803be0 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 28 Dec 2016 11:52:53 +0100 Subject: [PATCH 1/2] Fix build failure --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 1 + 1 file changed, 1 insertion(+) 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 b70ad23473..3f4b2bb5d3 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1809,6 +1809,7 @@ 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/** ---- From 3389af2c2f0de0ff486112b25199509ecc91f44f Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 28 Dec 2016 12:08:55 +0100 Subject: [PATCH 2/2] Fix build failure (II) --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 3f4b2bb5d3..877723468f 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1804,8 +1804,7 @@ 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: