mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-30 17:01:25 +00:00
re-enable external thumbnails
This commit is contained in:
parent
626334241c
commit
719cc22d4a
1 changed files with 6 additions and 6 deletions
|
@ -20,12 +20,12 @@ class CardMedia extends React.PureComponent<Props> {
|
||||||
let url;
|
let url;
|
||||||
// @if TARGET='web'
|
// @if TARGET='web'
|
||||||
// Pass image urls through a compression proxy
|
// Pass image urls through a compression proxy
|
||||||
url = thumbnail || Placeholder;
|
// url = thumbnail || Placeholder;
|
||||||
// url = thumbnail
|
url = thumbnail
|
||||||
// ? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
||||||
// The image server will redirect if we don't remove the double slashes after http(s)
|
// The image server will redirect if we don't remove the double slashes after http(s)
|
||||||
// thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
||||||
// : Placeholder;
|
: Placeholder;
|
||||||
// @endif
|
// @endif
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
url = thumbnail || Placeholder;
|
url = thumbnail || Placeholder;
|
||||||
|
|
Loading…
Add table
Reference in a new issue