[Comments] Batch resolve #7236

Merged
saltrafael merged 17 commits from batch-resolve into master 2021-10-11 03:42:10 +02:00
Showing only changes of commit 3077c778c3 - Show all commits

View file

@ -36,9 +36,9 @@ function getThumbnailCdnUrl(url) {
const width = 630;
const height = 1200;
if (url && !url.includes('https://spee.ch')) {
return `${THUMBNAIL_CDN_URL}s:${width}:${height}/quality:${THUMBNAIL_QUALITY}/plain/${url}`;
if (url && url.includes('https://twitter-card')) {
return url;
}
if (url && url.includes('https://spee.ch') && !url.includes('?quality=')) {