当前位置:   article > 正文

谷歌浏览器最新chrome94版本CORS跨域问题_cors error谷歌浏览器

cors error谷歌浏览器

提示Access to XMLHttpRequest at 'http://localhost:xxxx/api' from 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`.

解决办法:

打开浏览器,进入chrome://flags/   
搜索 Block insecure private network requests

修改为 Disabled  后点 Relaunch 问题解决。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/660721
推荐阅读
相关标签
  

闽ICP备14008679号