前言
在https网页中引入http资源会报错
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure stylesheet '<URL>'. This request has been blocked; the content must be served over HTTPS.
可以head标签中加入
<head>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
</head>
解决
网友评论