From f1555319c4c2e7a5e56325428ae1fa2fad6f837a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sun, 12 Nov 2017 11:24:02 +0000 Subject: [PATCH] Correct static-path-pattern property in WebFlux documentation Closes gh-10843 --- .../src/main/asciidoc/spring-boot-features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 2748a3ff98c..a182b83dd67 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2461,12 +2461,12 @@ By default, Spring Boot serves static content from a directory called `/static` your own `WebFluxConfigurer` and overriding the `addResourceHandlers` method. By default, resources are mapped on `+/**+`, but you can tune that by setting the -`spring.mvc.static-path-pattern` property. For instance, relocating all resources to +`spring.webflux.static-path-pattern` property. 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/** + spring.webflux.static-path-pattern=/resources/** ---- You can also customize the static resource locations by using