From 1bb491857e742739c6a35ee9b46c136d8ebe8c2d Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Fri, 8 Oct 2021 11:06:51 -0400 Subject: [PATCH] lint fix, return url always fix lint --- web/src/html.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) {