From febbeb32e4cd7ea8b0b9c707b83f69c1455cd883 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 8 May 2024 00:10:26 +0800 Subject: [PATCH] Revert "feat: use icon.horse" This reverts commit c03d1359cd5f942d2850a9fb542f976000360909. --- 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 7e522685c..13ea09afc 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://icon.horse/icon/${host}` + src = `https://unavatar.io/${host}?fallback=${fallback}` } catch (error) { const pureDomain = parse(url).domainWithoutSuffix src = `https://avatar.vercel.sh/${pureDomain}.svg?text=${pureDomain?.slice(0, 2).toUpperCase()}`