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;