解决[origin 'http://xxx.xxx.com:xxxx' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.]


问题❓

近日Microsoft Edge升级到94.0版本后打开网站发现提示无法加载Bootstrap的CDN字体了,提示
'https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.3/css/fontawesome.min.css' from origin 'http://x.x.x.x' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space ``local``.

解决办法🚩

1.在浏览器输入框中输入 edge://flags/ 进入设置页面

image

2.搜索Block insecure private network requests

image

3.设置为Disabled,重启浏览器就好了。

image


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM