From 24e05b352a2f28cbd17b643b558d18b524e35b3b Mon Sep 17 00:00:00 2001 From: aelew <118043566+aelew@users.noreply.github.com> Date: Tue, 6 Feb 2024 00:55:58 -0800 Subject: [PATCH] replace DDG icon API with a better alternative --- next.config.js | 2 +- .../(domain)/_components/domain-header.tsx | 4 ++-- .../(tools)/(domain)/dns/[domain]/page.tsx | 11 +++++++++-- .../(domain)/subdomain/[domain]/page.tsx | 19 ++++++++----------- .../(tools)/(domain)/whois/[domain]/page.tsx | 4 ++-- 5 files changed, 22 insertions(+), 18 deletions(-) diff --git a/next.config.js b/next.config.js index 7d1e333..4b1a82e 100644 --- a/next.config.js +++ b/next.config.js @@ -15,7 +15,7 @@ const config = { }, images: { remotePatterns: [ - { protocol: 'https', hostname: 'icons.duckduckgo.com' }, + { protocol: 'https', hostname: 'favicon.victr.me' }, { protocol: 'https', hostname: 'flagsapi.com' } ] } diff --git a/src/app/(tools)/(domain)/_components/domain-header.tsx b/src/app/(tools)/(domain)/_components/domain-header.tsx index 1366ef5..f246ffd 100644 --- a/src/app/(tools)/(domain)/_components/domain-header.tsx +++ b/src/app/(tools)/(domain)/_components/domain-header.tsx @@ -22,8 +22,8 @@ export function DomainHeader({