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

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

2020-01-04 18:51:32
1.6K
0

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

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

评论(0)