mixed content the page at was loaded over https
作者:互联网
问题描述
从HTTPS访问HTTP,违法了Chrome的安全规则
mixed content the page at was loaded over https
but requested an insecure XMLHttpRequest endpoint
This request has been blocked; the content must be served over HTTPS.
解决方案
1.修改meta允许这么访问
<meta http-equiv="Content-Security-Policy"
content="upgrade-insecure-requests">
2.把http的连接全部改成https
标签:https,over,content,HTTPS,loaded,was 来源: https://blog.csdn.net/MyFreeIT/article/details/120888272