From d82b4ebe722d20e00a015b8b2dc31b5d51a6caac Mon Sep 17 00:00:00 2001 From: Adam Matan Date: Fri, 19 Feb 2016 23:36:04 +0200 Subject: Use Protocol-relative URL, as defined in https://atb.disqus.com/admin/universalcode/ - '//' instead of 'http://' or 'https://' --- dev-random2/templates/article.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev-random2/templates/article.html') diff --git a/dev-random2/templates/article.html b/dev-random2/templates/article.html index 9d24a37..dde5dd4 100644 --- a/dev-random2/templates/article.html +++ b/dev-random2/templates/article.html @@ -43,7 +43,7 @@ /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); -- cgit From c817f12a9f5034a05abec4d2515adabd003f9ac0 Mon Sep 17 00:00:00 2001 From: Adam Matan Date: Sat, 20 Feb 2016 01:47:35 +0200 Subject: Use https:// for all Disqus calls --- dev-random2/templates/article.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev-random2/templates/article.html') diff --git a/dev-random2/templates/article.html b/dev-random2/templates/article.html index dde5dd4..f3c86c8 100644 --- a/dev-random2/templates/article.html +++ b/dev-random2/templates/article.html @@ -43,7 +43,7 @@ /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); -- cgit