use thumbnail server

This commit is contained in:
Sean Yesmunt 2020-01-02 18:04:41 -05:00 committed by GitHub
parent aa16c83f27
commit e7c1085faa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,10 +21,10 @@ class CardMedia extends React.PureComponent<Props> {
// @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;
// ? '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;