springboot 整合security 页面报 Refuse to display ‘‘ in a frame because it set ‘X-Frame-Options‘ to ‘deny‘
springboot 整合security 页面报 Refuse to display ‘’ in a frame because it set ‘X-Frame-Options’ to ‘deny’
解决方法:
在安全配置类中加入一下代码即可
http.headers().frameOptions().disable();
原创
2020-08-25 12:03:33 ·
329 阅读 ·
0 评论