100% compression doesn't work with current CDN url

...sometimes produces larger-than-original file sizes too.
This commit is contained in:
infinite-persistence 2021-07-20 02:31:33 +08:00
parent be9640972e
commit 424ba85507
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -3,7 +3,7 @@ import { THUMBNAIL_CDN_URL } from 'config';
const THUMBNAIL_HEIGHT = 220; const THUMBNAIL_HEIGHT = 220;
const THUMBNAIL_WIDTH = 390; const THUMBNAIL_WIDTH = 390;
const THUMBNAIL_QUALITY = 100; const THUMBNAIL_QUALITY = 85;
type Props = { type Props = {
thumbnail: ?string, thumbnail: ?string,