wip - fixing fe bug

This commit is contained in:
Dario Ghunney Ware 2025-05-15 18:05:50 +01:00
parent 89760687d2
commit 0bd4a62e56

View File

@ -27,11 +27,11 @@ public class WebMvcConfig implements WebMvcConfigurer {
.addResourceLocations(
"file:" + InstallationPathConfig.getStaticPath(),
"classpath:/static/",
"classpath:/stirling-pdf/static/**",
"classpath:BOOT-INF/**"
"classpath:/stirling-pdf/"
// "/stirling-pdf/static/"
);
// registry.addResourceHandler("/js/**").addResourceLocations("classpath:/static/js/");
// registry.addResourceHandler("/css/**").addResourceLocations("classpath:/static/css/");
registry.addResourceHandler("/js/**").addResourceLocations("classpath:/static/js/");
registry.addResourceHandler("/css/**").addResourceLocations("classpath:/static/css/");
// .setCachePeriod(0); // Optional: disable caching
}
}