mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-22 07:25:04 +00:00
wip - fixing fe bug
This commit is contained in:
parent
cfdbd12d78
commit
b17e8fb8e4
@ -27,11 +27,11 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|||||||
.addResourceLocations(
|
.addResourceLocations(
|
||||||
"file:" + InstallationPathConfig.getStaticPath(),
|
"file:" + InstallationPathConfig.getStaticPath(),
|
||||||
"classpath:/static/",
|
"classpath:/static/",
|
||||||
"classpath:/stirling-pdf/static/**",
|
"classpath:/stirling-pdf/"
|
||||||
"classpath:BOOT-INF/**"
|
// "/stirling-pdf/static/"
|
||||||
);
|
);
|
||||||
// registry.addResourceHandler("/js/**").addResourceLocations("classpath:/static/js/");
|
registry.addResourceHandler("/js/**").addResourceLocations("classpath:/static/js/");
|
||||||
// registry.addResourceHandler("/css/**").addResourceLocations("classpath:/static/css/");
|
registry.addResourceHandler("/css/**").addResourceLocations("classpath:/static/css/");
|
||||||
// .setCachePeriod(0); // Optional: disable caching
|
// .setCachePeriod(0); // Optional: disable caching
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user