From f5898f00754ca7bba1cd8b8ddbc6ffd82faf5bec Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 14 Feb 2026 21:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0favicon=E4=B8=8Eapple-touch-i?= =?UTF-8?q?con=E5=88=B0=E5=8A=A8=E6=80=81=E6=8E=A5=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=E9=87=8D=E5=AE=9A=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/next.config.ts b/next.config.ts index f0c61463f..022a4c9f7 100644 --- a/next.config.ts +++ b/next.config.ts @@ -34,6 +34,20 @@ const nextConfig: NextConfig = { }, ], }, + async redirects() { + return [ + { + source: "/favicon.ico", + destination: "/api/favicon", + permanent: false, + }, + { + source: "/apple-touch-icon.png", + destination: "/api/favicon", + permanent: false, + }, + ]; + }, }; export default nextConfig;