zjs 3 hét óta
szülő
commit
315ff3cb75

+ 1 - 1
ruoyi-common/src/main/java/com/ruoyi/common/filter/MyResponseHeaderFilter.java

@@ -13,7 +13,7 @@ public class MyResponseHeaderFilter implements Filter {
13 13
     public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
14 14
             throws IOException, ServletException {
15 15
         HttpServletResponse res = (HttpServletResponse) response;
16
-        res.setHeader("X-Frame-Options", "SAMEORIGIN");
16
+        res.setHeader("X-Frame-Options", "DENY");
17 17
         chain.doFilter(request, response);
18 18
     }
19 19