赞
踩
index.html页面
head标签增加下面这句就可以了
<head>
<script>
if("https:"=== document.location.protocol){
document.write('<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">');
}
</script>
</head>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。