Skip to content

Commit

Permalink
Merge pull request quarkusio#44584 from jedla97/fix-44576
Browse files Browse the repository at this point in the history
Fix wrong web endpoint path for resource on Windows
  • Loading branch information
gsmet authored Nov 20, 2024
2 parents b01ea1c + f9dbe64 commit c872c3b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void findRelevantFiles(BuildProducer<GeneratedStaticResourceBuildItem> ge
webstream.forEach(path -> {
if (Files.isRegularFile(path)) {
String endpoint = SLASH + web.relativize(path);
endpoint = endpoint.replace('\\', '/');
try {
if (path.toString().endsWith(DOT_HTML)) {
generatedStaticProducer.produce(new GeneratedStaticResourceBuildItem(endpoint,
Expand Down

0 comments on commit c872c3b

Please sign in to comment.