解决[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/ 进入设置页面
2.搜索Block insecure private network requests
3.设置为Disabled,重启浏览器就好了。
如果说,岁月是一首歌,那么我们便是歌者,纵使孤独,仍会固执高歌;如果说,岁月是一段旅程,那么我们便是行者,且行且梦,让生命丰盈。