Test more twitter thumbnail stuff
This commit is contained in:
parent
181f17ce6b
commit
3077c778c3
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ function getThumbnailCdnUrl(url) {
|
||||||
|
|
||||||
const width = 630;
|
const width = 630;
|
||||||
const height = 1200;
|
const height = 1200;
|
||||||
|
|
||||||
if (url && !url.includes('https://spee.ch')) {
|
if (url && url.includes('https://twitter-card')) {
|
||||||
return `${THUMBNAIL_CDN_URL}s:${width}:${height}/quality:${THUMBNAIL_QUALITY}/plain/${url}`;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (url && url.includes('https://spee.ch') && !url.includes('?quality=')) {
|
if (url && url.includes('https://spee.ch') && !url.includes('?quality=')) {
|
||||||
|
|
Loading…
Reference in a new issue