Test more twitter thumbnail stuff
This commit is contained in:
parent
181f17ce6b
commit
3077c778c3
1 changed files with 3 additions and 3 deletions
|
@ -37,8 +37,8 @@ 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=')) {
|
||||
|
|
Loading…
Reference in a new issue