switch back to cdn cause it's easier

This commit is contained in:
Zack Rauen 2017-10-31 23:12:20 -04:00
parent 6ef12b4863
commit 088241b0ac
1 changed files with 2 additions and 2 deletions

View File

@ -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());
};