Merge pull request #325 from alaquepasa/fix-request-in-loop

[Mediaserver] Update URL
This commit is contained in:
Alfa
2018-07-04 14:13:15 -05:00
committed by GitHub

View File

@@ -94,7 +94,7 @@ function focus_element(element) {
function image_error(thumbnail) {
var src = thumbnail.src;
if (thumbnail.src.indexOf(domain) == 0) {
thumbnail.src = "https://github.com/alfa-addon/addon/raw/master/plugin.video.alfa/resources/media/general/default/thumb_folder.png";
thumbnail.src = "https://github.com/alfa-addon/addon/raw/master/plugin.video.alfa/resources/media/themes/default/thumb_folder.png"
}
else {
thumbnail.src = domain + "/proxy/" + encodeURIComponent(btoa(thumbnail.src));