📌  相关文章
📜  如何修复“混合内容:页面是通过 HTTPS 加载的,但请求了不安全的脚本” [重复] - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:35.353000             🧑  作者: Mango

代码示例1
If you get a console message that a resource request has been automatically upgraded from HTTP to HTTPS, you can safely change the http:// URL for the resource in your code to https://. You can also check to see if a resource is available securely by changing http:// to https:// in the browser URL bar and attempting to open the URL in a browser tab.
https://web.dev/fixing-mixed-content/