Closed lixin4306ren closed 7 years ago
看错误信息是因为服务器使用了https协议。我这边是用http://,所以没有出错呢,请参见:
我知道是协议的问题,但是我也是用的github做的blog,它老是提示我协议不相符,github是https,但是百度是http。所以很奇怪为什么你的没有问题。
On Wed, Aug 31, 2016 at 5:54 AM, Zhou Lvjun notifications@github.com wrote:
看错误信息是因为服务器使用了https协议。我这边是用http://,所以没有出错呢,请参见:
http://zhoulvjun.github.io/2016/01/30/chart/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zhoulvjun/hexo-tag-echarts/issues/1#issuecomment-243716073, or mute the thread https://github.com/notifications/unsubscribe-auth/ANkHHP6pRUCtkuR2mLEP7ok2PcwsOBP2ks5qlU9WgaJpZM4JxUDN .
Xin Li Postdoc Fellow Center for Epigenetics, Johns Hopkins University School of Medicine Rangos 580, 855 N. Wolfe St., Baltimore, MD 21205
我试了下引入bootcdn的包,这个支持https协议,问题解决了。
用这个替换百度的地址:
<script src="https://cdn.bootcss.com/echarts/2.2.7/echarts.js"></script>
报错信息为:
Mixed Content: The page at 'https://lixin4306ren.github.io/2016/08/31/test2/' was loaded over HTTPS, but requested an insecure script 'http://echarts.baidu.com/dist/echarts.js'. This request has been blocked; the content must be served over HTTPS.