chrome CORS錯誤


chrome升級后,訪問網站的js出現(http網站訪問https的js):

From origin  has been blocked by CORS policy: The request  client is not a secure context and the resource is in more-private address space ‘private’

 

解決方案:

打開新的網頁,瀏覽器輸入:chrome://flags/#block-insecure-private-network-requests,改成Disabled,重啟瀏覽器。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM