diff --git a/src/main/java/net/geedge/asw/common/config/GUIHistoryRouterFilter.java b/src/main/java/net/geedge/asw/common/config/GUIHistoryRouterFilter.java index a6e2a6f..2ffc225 100644 --- a/src/main/java/net/geedge/asw/common/config/GUIHistoryRouterFilter.java +++ b/src/main/java/net/geedge/asw/common/config/GUIHistoryRouterFilter.java @@ -37,7 +37,7 @@ public class GUIHistoryRouterFilter extends OncePerRequestFilter { if (!matches) { // If the path does not start with any of the specified prefixes, return index.html - Resource resource = resourceLoader.getResource("classpath:public/index.html"); + Resource resource = resourceLoader.getResource("classpath:./public/index.html"); response.setContentType("text/html"); response.setCharacterEncoding("UTF-8"); Files.copy(resource.getFile().toPath(), response.getOutputStream());