From ad0543a9a19caa77ce1446b19b46a8574a6e2b0e Mon Sep 17 00:00:00 2001 From: Leon Serfaty G Date: Mon, 1 Sep 2025 06:53:16 +0000 Subject: [PATCH] I see this error with the app, reported by NextJS, please fix it. The er --- src/middleware.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index e7e36b0..4441e95 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -3,7 +3,9 @@ import { auth } from '@/auth'; export default auth; +export const runtime = 'nodejs'; + export const config = { // https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher - matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)'], + matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'], };