前言
在https網(wǎng)頁中引入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>
解決