wendal / gor

Golang编写的静态博客引擎
599 stars 146 forks source link

能不能添加多说评论,开启https后disqus好像不显示了 #92

Closed alairs closed 9 years ago

alairs commented 9 years ago

能不能添加多说评论,开启https后disqus好像不显示了

wendal commented 9 years ago

开Chrome控制台看看有啥报错

alairs commented 9 years ago

@wendal

chrome控制态提示错误如下,意思http://ltecn.disqus.com/embed.js未用https传输,然后直接浏览http://ltecn.disqus.com/embed.js就会302定向到https://a.disquscdn.com/embed.js,但是gor没开放disqus源码文件,无法修改。

另外,只有将提示的非安全内容解除限制才能打开disqus评论框。

Mixed Content: The page at 'https://ltecn.com/acs/put-raspberry-pi-data-to-lewei50.html' was loaded over HTTPS, but requested an insecure script 'http://ltecn.disqus.com/embed.js'. This request has been blocked; the content must be served over HTTPS.

wendal commented 9 years ago

哦,直接改改源码好了

wendal commented 9 years ago

多说? 有啊