We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742925a commit 74d3f84Copy full SHA for 74d3f84
jooby/src/main/java/io/jooby/AssetSource.java
@@ -71,8 +71,8 @@ public interface AssetSource {
71
*/
72
static @Nonnull AssetSource webjars(@Nonnull ClassLoader loader, @Nonnull String name) {
73
List<String> location = Arrays.asList(
74
- "/META-INF/maven/org.webjars/" + name + "/pom.properties",
75
- "/META-INF/maven/org.webjars.npm/" + name + "/pom.properties"
+ "META-INF/maven/org.webjars/" + name + "/pom.properties",
+ "META-INF/maven/org.webjars.npm/" + name + "/pom.properties"
76
);
77
String versionPath = location.stream().filter(it -> loader.getResource(it) != null)
78
.findFirst()
0 commit comments