turn off lbry.tv thumbnail compression

This commit is contained in:
Sean Yesmunt 2019-12-26 10:38:27 -05:00
parent ea6855df08
commit 6ffe26c1ed

View file

@ -20,11 +20,11 @@ class CardMedia extends React.PureComponent<Props> {
let url;
// @if TARGET='web'
// Pass image urls through a compression proxy
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;
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;
// @endif
// @if TARGET='app'
url = thumbnail || Placeholder;