This commit is contained in:
deepzz0
2016-10-02 00:11:15 +08:00
parent ddf508825c
commit ead9533be3
34 changed files with 359 additions and 181 deletions
+2 -2
View File
@@ -27,9 +27,9 @@ func CommentsCount() {
return
}
baseUrl := setting.Conf.Disqus.URL + "?api_key=" + setting.Conf.Disqus.PublicKey + "&forum=" + setting.Conf.Disqus.ShortName + "&"
domain := "http:" + runmode.Domain
domain := "http://" + runmode.Domain
if runmode.EnableHttps {
domain = "https:" + runmode.Domain
domain = "https://" + runmode.Domain
}
var count, index int
for index < len(Ei.Articles) {