报错: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">
报错: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 网页中引入HTTP资源
本文链接:https://www.haomeiwen.com/subject/eqvrtctx.html
网友评论