mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 01:11:26 +00:00
test with niko - pass all claim preview urls through optimization site
This commit is contained in:
parent
20dde98506
commit
4a74ee681c
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ class CardMedia extends React.PureComponent<Props> {
|
||||||
return <FreezeframeWrapper src={thumbnail} className={className} />;
|
return <FreezeframeWrapper src={thumbnail} className={className} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = thumbnail || Placeholder;
|
const url = thumbnail ? 'https://ext.thumbnails.lbry.com/400x,q55/' + thumbnail : Placeholder;
|
||||||
return <div style={{ backgroundImage: `url('${url.replace(/'/g,"\\'")}')` }} className={className} />;
|
return <div style={{ backgroundImage: `url('${url.replace(/'/g, "\\'")}')` }} className={className} />;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue