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).*)", + ], };