解决[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

posted on 2021-10-18 09:50  挖穿地球😁  阅读(10354)  评论(0编辑  收藏  举报