Browse Source

Set default paths for fixed static version

Closes gh-5878
pull/5936/head
Kazuki Shimizu 10 years ago committed by Andy Wilkinson
parent
commit
a4d9ba165f
  1. 2
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java

2
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java

@ -292,7 +292,7 @@ public class ResourceProperties implements ResourceLoaderAware {
/** /**
* Comma-separated list of patterns to apply to the Version Strategy. * Comma-separated list of patterns to apply to the Version Strategy.
*/ */
private String[] paths; private String[] paths = new String[] { "/**" };
/** /**
* Version string to use for the Version Strategy. * Version string to use for the Version Strategy.

Loading…
Cancel
Save