hot fix for thumbnails on lbry.tv
This commit is contained in:
parent
600792884e
commit
2326391897
1 changed files with 6 additions and 5 deletions
|
@ -20,11 +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
|
url = thumbnail || Placeholder;
|
||||||
? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
// url = thumbnail
|
||||||
// The image server will redirect if we don't remove the double slashes after http(s)
|
// ? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
||||||
thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
// // The image server will redirect if we don't remove the double slashes after http(s)
|
||||||
: Placeholder;
|
// thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
||||||
|
// : Placeholder;
|
||||||
// @endif
|
// @endif
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
url = thumbnail || Placeholder;
|
url = thumbnail || Placeholder;
|
||||||
|
|
Loading…
Reference in a new issue