解決[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-2025 CODEPRJ.COM