SimpleMiddleware里面,需要修改X-Frame-Options为ALLOWALL

作者:cn-jack 334 浏览 0 评论 发布时间:2020-01-04 18:51:32

response['X-Frame-Options'] = 'ALLOW-FROM'修改为 response['X-Frame-Options'] = 'ALLOWALL'

否则chrome里面会报错 'ALLOW-FROM' is not a recognized directive. The header will be ignored.

Loading...
评论列表 0条评论
暂时没有评论