mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '1.4.x' into 1.5.x
This commit is contained in:
commit
378b53d42b
@ -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/**
|
||||
----
|
||||
|
Loading…
Reference in New Issue
Block a user