From a87dd21944dd2b6d8e6407b3ccce10e8127b1dd5 Mon Sep 17 00:00:00 2001 From: DispatchCommit Date: Wed, 30 Jun 2021 10:43:41 -0700 Subject: [PATCH] fix lbry.tv thumbnails --- ui/util/thumbnail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/util/thumbnail.js b/ui/util/thumbnail.js index c35baba1c..c0fed9a29 100644 --- a/ui/util/thumbnail.js +++ b/ui/util/thumbnail.js @@ -15,7 +15,7 @@ type Props = { export function getThumbnailCdnUrl(props: 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; }