From 65f614b818bdbb34993131ecf4fad4a6badec79b Mon Sep 17 00:00:00 2001 From: MrLuit Date: Wed, 10 May 2017 19:33:39 +0200 Subject: [PATCH] Enforce Reddit HTTPS --- js/promisepage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/promisepage.js b/js/promisepage.js index 1051cce..d171086 100644 --- a/js/promisepage.js +++ b/js/promisepage.js @@ -64,7 +64,7 @@ if (document.location.href.indexOf("?reddit") !== -1) { } window.addEventListener('load', function() { - $.get("http://www.reddit.com/r/trumptracker/comments/" + redditid + ".json", function(res) { + $.get("https://www.reddit.com/r/trumptracker/comments/" + redditid + ".json", function(res) { res.shift(); loopComments(res); setTimeout(function() {