admin管理员组

文章数量:1642237

django4.0以后引入一些第三方的JS,浏览器会报如下错误

   The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3/TR/powerful-features/#potentially-trustworthy-origin and https://html.spec.whatwg/#the-cross-origin-opener-policy-header.


官方文档给出了说明,只需要将该配置的值设为None即可解决!

本文标签: OriginCrossheaderpolicyOpener