From 345ac5e28e0d0ccfb2306235981cbb348d515203 Mon Sep 17 00:00:00 2001 From: dongkyun-dev Date: Wed, 21 Feb 2024 21:51:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20config=20=EC=9B=90=EB=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/middleware.ts b/middleware.ts index 42a84d2..104b0f5 100644 --- a/middleware.ts +++ b/middleware.ts @@ -20,3 +20,7 @@ export const middleware = async (request: NextRequest) => { return NextResponse.redirect(new URL('/', request.url)); } }; + +export const config = { + matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'], +};