Skip to content

Commit

Permalink
Update common.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriles90 authored Feb 25, 2024
1 parent 16cb9fe commit 7b3431e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,7 @@ Common.loadImage = function(img, proxy = false) {
};

cache.onerror = () => {
if (proxy) {
resolve(null);
return;
}
if (img.indexOf('image.tmdb.org') === -1) {
if (proxy || img.indexOf('image.tmdb.org') === -1) {
resolve(null);
return;
}
Expand Down

0 comments on commit 7b3431e

Please sign in to comment.