Permalink
Browse files

Fixed Disqus under HTTPS by using protocol-relative URL

  • Loading branch information...
1 parent 2aa069a commit fda8182098976d22707ec0e676cf038af833d1ae @PaulosV PaulosV committed Nov 27, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/rock/include/comments.html
@@ -23,7 +23,7 @@
var disqus_shortname = "{{config.disqus_short_name}}";
(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);
})();
</script>

0 comments on commit fda8182

Please sign in to comment.