在使用Chrome过程中,偶遇Access to XMLHttpRequest at 'xx' from origin 'xx' 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.打开chrome://flags/#block-insecure-private-network-requests
2.找到Block insecure private network requests并将其设置为
Disabled