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

2023-12-21 17:58:31

提示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?问题解决。

文章来源:https://blog.csdn.net/rrrgy236116/article/details/135133982
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。