diff --git a/src/modules/favIcons/favIcons.ts b/src/modules/favIcons/favIcons.ts index 26fdd14..18db3ea 100644 --- a/src/modules/favIcons/favIcons.ts +++ b/src/modules/favIcons/favIcons.ts @@ -79,7 +79,7 @@ const getFaviconData = async (url: string): Promise => { if (protocol === 'tel:') { return favIcon = { format: 'svg', - src: '' + src: '' }; } // logseq @@ -89,6 +89,13 @@ const getFaviconData = async (url: string): Promise => { src: await getBase64FromUrl(`https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://logseq.com&size=32`) }; } + // zotero + if (protocol === 'zotero:') { + return favIcon = { + format: 'svg', + src: '' + }; + } // local if (protocol === 'file:') { return favIcon = { @@ -130,7 +137,7 @@ const getFaviconData = async (url: string): Promise => { if (url.includes('.atlassian.net/jira/') || url.includes('.atlassian.net/browse/')) { return favIcon = { format: 'svg', - src: '' + src: '' }; } // http - common