Przeglądaj źródła

Merge remote-tracking branch 'origin/master'

csg6 3 tygodni temu
rodzic
commit
056bbf1f86

+ 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