fix lbry.tv thumbnails
This commit is contained in:
parent
304c0553da
commit
a87dd21944
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue