mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Merge branch 'main' into css_lint
This commit is contained in:
commit
854f5798d2
@ -26,8 +26,6 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|||||||
registry.addResourceHandler("/**")
|
registry.addResourceHandler("/**")
|
||||||
.addResourceLocations(
|
.addResourceLocations(
|
||||||
"file:" + InstallationPathConfig.getStaticPath(), "classpath:/static/");
|
"file:" + InstallationPathConfig.getStaticPath(), "classpath:/static/");
|
||||||
registry.addResourceHandler("/js/**").addResourceLocations("classpath:/static/js/");
|
|
||||||
registry.addResourceHandler("/css/**").addResourceLocations("classpath:/static/css/");
|
|
||||||
// .setCachePeriod(0); // Optional: disable caching
|
// .setCachePeriod(0); // Optional: disable caching
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user