From 6ab939f96b71abdba5bbce939a7ee6efb424903d Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 23 Feb 2024 20:46:37 +0800 Subject: [PATCH] feat: use duckduckgo favicon api as fallback --- src/lib/rss.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rss.ts b/src/lib/rss.ts index a8c4292..10d27b6 100644 --- a/src/lib/rss.ts +++ b/src/lib/rss.ts @@ -14,7 +14,7 @@ export async function getPageRSS() { handleUrl( document.querySelector('link[rel~="icon"]').getAttribute("href"), )) || - location.origin + "/favicon.ico" + `https://icons.duckduckgo.com/ip3/${location.hostname}.ico` function handleUrl(url) { return new URL(