diff --git a/web/src/html.js b/web/src/html.js index 03ae21efd..0f1622beb 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -36,7 +36,7 @@ function getThumbnailCdnUrl(url) { const width = 630; const height = 1200; - + if (url && url.includes('https://twitter-card')) { return url; } @@ -48,6 +48,10 @@ function getThumbnailCdnUrl(url) { if (url && url.includes('https://spee.ch')) { return url; } + + if (url) { + return url; + } } function insertToHead(fullHtml, htmlToInsert) {