use thumbnail server
This commit is contained in:
parent
aa16c83f27
commit
e7c1085faa
1 changed files with 4 additions and 4 deletions
|
@ -21,10 +21,10 @@ class CardMedia extends React.PureComponent<Props> {
|
|||
// @if TARGET='web'
|
||||
// Pass image urls through a compression proxy
|
||||
url = thumbnail || Placeholder;
|
||||
// ? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
||||
// // The image server will redirect if we don't remove the double slashes after http(s)
|
||||
// thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
||||
// : Placeholder;
|
||||
? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
||||
// The image server will redirect if we don't remove the double slashes after http(s)
|
||||
thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
||||
: Placeholder;
|
||||
// @endif
|
||||
// @if TARGET='app'
|
||||
url = thumbnail || Placeholder;
|
||||
|
|
Loading…
Reference in a new issue