lint fix, return url always

fix lint
This commit is contained in:
Thomas Zarebczan 2021-10-08 11:06:51 -04:00
parent 3077c778c3
commit 1bb491857e
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -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) {