Compare commits

...

1 commit

Author SHA1 Message Date
DispatchCommit
a87dd21944 fix lbry.tv thumbnails 2021-06-30 10:43:41 -07:00

View file

@ -15,7 +15,7 @@ type Props = {
export function getThumbnailCdnUrl(props: Props) { export function getThumbnailCdnUrl(props: Props) {
const { thumbnail, height = THUMBNAIL_HEIGHT, width = THUMBNAIL_WIDTH, quality = THUMBNAIL_QUALITY } = props; const { thumbnail, height = THUMBNAIL_HEIGHT, width = THUMBNAIL_WIDTH, quality = THUMBNAIL_QUALITY } = props;
if (!THUMBNAIL_CDN_URL || !thumbnail) { if (!THUMBNAIL_CDN_URL || !thumbnail || thumbnail.includes('https://thumbnails.lbry.com')) {
return thumbnail; return thumbnail;
} }