From c03d1359cd5f942d2850a9fb542f976000360909 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 2 May 2024 16:54:07 +0800 Subject: [PATCH] feat: use icon.horse --- src/renderer/src/components/site-icon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/site-icon.tsx b/src/renderer/src/components/site-icon.tsx index 13ea09afc..7e522685c 100644 --- a/src/renderer/src/components/site-icon.tsx +++ b/src/renderer/src/components/site-icon.tsx @@ -16,7 +16,7 @@ export function SiteIcon({ host = new URL(url).host const pureDomain = parse(host).domainWithoutSuffix fallback = `https://avatar.vercel.sh/${pureDomain}.svg?text=${pureDomain?.slice(0, 2).toUpperCase()}` - src = `https://unavatar.io/${host}?fallback=${fallback}` + src = `https://icon.horse/icon/${host}` } catch (error) { const pureDomain = parse(url).domainWithoutSuffix src = `https://avatar.vercel.sh/${pureDomain}.svg?text=${pureDomain?.slice(0, 2).toUpperCase()}`