报错信息:
-
Failed to load resource: 发生SSL错误,无法建立到该服务器的安全连接 XMLHttpRequest cannot
-
load https://xxxxxxx due to access control checks.
具体如图下:
原因是:页面上的http请求变了https请求
解决办法:
将页面中的下面这行代码注释掉
java
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">