switch back to cdn cause it's easier
This commit is contained in:
parent
6ef12b4863
commit
088241b0ac
|
@ -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());
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue