From 75bdea6fdb5fe404ae6a3fa9d2c5882cd768932a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 14 Feb 2026 21:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=97=B6=E5=8A=A8=E6=80=81favicon=E6=8E=A5=E5=8F=A3=E8=A2=AB?= =?UTF-8?q?=E9=89=B4=E6=9D=83=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proxy.ts b/proxy.ts index 551f88287..ce2b7bba9 100644 --- a/proxy.ts +++ b/proxy.ts @@ -81,6 +81,11 @@ export async function proxy(request: NextRequest) { return NextResponse.next(); } + // 允许公开访问动态 favicon(浏览器标签图标) + if (pathname === "/api/favicon") { + return NextResponse.next(); + } + // 允许访问公开的认证配置(登录弹窗需要) if (pathname === "/api/auth-settings") { return NextResponse.next();