revert the revert the revert the revert
This commit is contained in:
parent
5d893bc420
commit
0345f2d294
1 changed files with 5 additions and 5 deletions
|
@ -20,12 +20,12 @@ class CardMedia extends React.PureComponent<Props> {
|
|||
let url;
|
||||
// @if TARGET='web'
|
||||
// Pass image urls through a compression proxy
|
||||
// url = thumbnail || Placeholder;
|
||||
url = thumbnail
|
||||
? 'https://ext.thumbnails.lbry.com/400x,q55/' +
|
||||
url = thumbnail || Placeholder;
|
||||
// url = thumbnail
|
||||
// ? '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;
|
||||
// thumbnail.replace('https://', 'https:/').replace('http://', 'http:/')
|
||||
// : Placeholder;
|
||||
// @endif
|
||||
// @if TARGET='app'
|
||||
url = thumbnail || Placeholder;
|
||||
|
|
Loading…
Reference in a new issue