From 088241b0ac5a68b0020f748863cf3c8e34b8854b Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Tue, 31 Oct 2017 23:12:20 -0400 Subject: [PATCH] switch back to cdn cause it's easier --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index 8298924c..d7131e58 100644 --- a/js/main.js +++ b/js/main.js @@ -447,7 +447,7 @@ function EmoteModule() {} EmoteModule.prototype.init = function () {}; EmoteModule.prototype.getBlacklist = function () { - $.getJSON("https://rauenzi.github.io/BetterDiscordApp/data/emotefilter.json", function (data) { + $.getJSON("https://cdn.rawgit.com/rauenzi/betterDiscordApp/" + _hash + "/data/emotefilter.json", function (data) { bemotes = data.blacklist; }); }; @@ -1176,7 +1176,7 @@ Utils.prototype.loadHtml = function (html, callback) { }).appendTo("body"); //TODO Inject these in next core update - html = '//rauenzi.github.io/BetterDiscordApp/html/' + html + '.html'; + html = '//cdn.rawgit.com/rauenzi/BetterDiscordApp/' + _hash + '/html/' + html + '.html'; container.load(html, callback()); };