From a4d9ba165f4cddab42fb3fd39f2fe82c6a58fa65 Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Fri, 6 May 2016 04:42:10 +0900 Subject: [PATCH] Set default paths for fixed static version Closes gh-5878 --- .../boot/autoconfigure/web/ResourceProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java index 06f0f7c5c6..ab470b393a 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java +++ b/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. */ - private String[] paths; + private String[] paths = new String[] { "/**" }; /** * Version string to use for the Version Strategy.