报表页面静态文件无法被cdn缓存 #3548

This commit is contained in:
JEECG
2025-03-26 11:56:46 +08:00
parent dbb541d7d5
commit 2cbb038c19

View File

@@ -81,6 +81,8 @@ public class SpringSecurityConfig {
.clearAuthentication(true).permitAll();
// 开放iframe访问限制
http.headers().frameOptions().disable();
// 禁用默认的 no-cache
http.headers().cacheControl().disable();
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.ALWAYS);
http.rememberMe().useSecureCookie(true);