From 9d37d4c38a08c3ed9289dfc54e5d3b6a9844fc0f Mon Sep 17 00:00:00 2001 From: Joseph Chamochumbi Date: Wed, 20 Aug 2025 15:24:10 +0200 Subject: [PATCH] feat: nodejs runtime for middleware --- dashboard/final-example/middleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/final-example/middleware.ts b/dashboard/final-example/middleware.ts index b1f31921..33d3a2af 100644 --- a/dashboard/final-example/middleware.ts +++ b/dashboard/final-example/middleware.ts @@ -6,4 +6,5 @@ export default NextAuth(authConfig).auth; export const config = { // https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)'], + runtime: 'nodejs', };