标签: chrome76

如何修复 WebView Chrome 76 上的 CORS 错误?

我已将请求从我的应用程序发送到 API 服务器;在WebView Chrome 76.0.3809.89上无法调用API日志中显示以下错误:

Access to XMLHttpRequest at 'https://.....' from origin 'file://' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

它在 Chrome 75 上正常工作。如何在 Android WebView 上禁用此 CORS 检查?或者还有其他解决方案吗

android google-chrome webview chrome76

5
推荐指数
1
解决办法
5624
查看次数

标签 统计

android ×1

chrome76 ×1

google-chrome ×1

webview ×1