报错:This request has been blocked; the content must be served over HTTPS.
方案:可以在相应的页面的<head>
里加上这句代码,意思是自动将http的不安全请求升级为https。<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
转载于:https://www.jianshu.com/p/6d0d8510084c