linux怎么查看本机内存大小
272
2022-08-26
play framework2.6 Refused to display in a frame because it set 'X-Frame-Options' to 'DENY'
今天在利用Ckeditor做文件上传的时候出现了下面的错误:
Refused to display in a frame because it set 'X-Frame-Options' to 'DENY'
解决方法
修改application.conf里面的headers下面的配置。
# The X-Frame-Options header. If null, the header is not set. frameOptions = null
然后就可以了,原因是playframework拦截了哈。
参考文献
[1].页面加入到一个iframe框架中报Refused to display in a frame because it set 'X-Frame-Options' to 'DENY'错误
[2].Security filter shouldn't set empty headers. https://github.com/playframework/playframework/issues/3826
[3]. 基于spring-boot的web应用,ckeditor上传文件图片文件。 https://bbsmax.com/A/nAJvYNjnzr/
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~