mirror of
https://github.com/jeecgboot/JimuReport.git
synced 2025-10-13 22:10:27 +00:00
报表页面静态文件无法被cdn缓存 #3548
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user