From b257f43ca2f6147b1dd70198ad8abef2ee892b09 Mon Sep 17 00:00:00 2001 From: DirkSchlossmacher <62424946+DirkSchlossmacher@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:30:56 +0200 Subject: [PATCH] api/cache/upload --- middleware.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index 45cb950c5..8cdcd99a2 100644 --- a/middleware.ts +++ b/middleware.ts @@ -1,5 +1,7 @@ export { default } from "next-auth/middleware"; export const config = { - matcher: "/((?!login|static|.*\\..*|_next).*)", + matcher: [ + "/((?!login|static|.*\\..*|_next|api/cache/upload).*)", + ], };