From 3077c778c38df35f75444c1915f0321a56e12a34 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Fri, 8 Oct 2021 10:44:22 -0400 Subject: [PATCH] Test more twitter thumbnail stuff --- web/src/html.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/html.js b/web/src/html.js index d149f03c9..03ae21efd 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -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=')) {