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} />;
|
||||
}
|
||||
|
||||
const url = thumbnail || Placeholder;
|
||||
return <div style={{ backgroundImage: `url('${url.replace(/'/g,"\\'")}')` }} className={className} />;
|
||||
const url = thumbnail ? 'https://ext.thumbnails.lbry.com/400x,q55/' + thumbnail : Placeholder;
|
||||
return <div style={{ backgroundImage: `url('${url.replace(/'/g, "\\'")}')` }} className={className} />;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue