publish 0.9.5

This commit is contained in:
曾文豪
2023-03-31 16:12:44 +08:00
parent da69124968
commit 68781d4685
15 changed files with 38 additions and 24 deletions

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>0.9.4</version>
<version>0.9.5</version>
</parent>
<artifactId>springboot-util</artifactId>

View File

@@ -71,7 +71,7 @@ public class GlobalConfig {
}
PathMatchingResourcePatternResolver patternResolver = new PathMatchingResourcePatternResolver();
try {
Resource[] resources = patternResolver.getResources(String.format("classpath*:static/%s/*/index.html", htmlDir));
Resource[] resources = patternResolver.getResources(String.format("classpath*:static/%s*/index.html", htmlDir));
List<String> versions = new ArrayList<>();
for (Resource resource : resources) {
String path = FileUtil.normalize(resource.getURL().getPath());