
提示错误:
Access to XMLHttpRequest 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 `local`.
原因:最新的谷歌和edge升级到94版本后对公网上的http请求下的非同域的http请求进行了拦截。
解决方案:
1、所有公网上的web项目都应该使用https证书。所以最好的方案还是将您的公网web项目升级...