lint fix, return url always
fix lint
This commit is contained in:
parent
3077c778c3
commit
1bb491857e
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue