没皮的小芒果

解决Mixed Content: The page at 'xxx' was loaded over HTTPS, but requested an insecure resource 'xxx'.

解决Mixed Content: The page at 'xxx' was loaded over HTTPS, but requested an insecure resource 'xxx'.
https页面里动态的引入http资源,比如引入一个js文件,会被直接block掉的,在https页面里通过ajax的方式请求http资源,也会被直接block掉的。芒果博客全站启用了https,但服务器上没有配置证书,而是通过CDN来实现的https,所以使用ajax请求的时候,ajax实际上是通过http请求的,而非https(如果服务器···...
其它没皮的小芒果2019-10-2386 views13