From 99119017760228d4fd324334f1f5296f6b7717f3 Mon Sep 17 00:00:00 2001 From: mnsrulz Date: Sat, 17 Aug 2024 19:45:54 +0000 Subject: [PATCH] added favicon ico to trusted list --- src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index 3502584..58b7237 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -17,7 +17,7 @@ export default NextAuth(authOptions).auth; // }) export const config = { - matcher: ['/((?!api/auth|_next/static|_next/image|.*\\.png$).*)'] + matcher: ['/((?!api/auth|_next/static|_next/image|.*\\.png$|.*\\.ico$).*)'] }; // async function isAuthenticated(req: NextRequest) {