From 0611898bca056403a7ba4661664a9b7b21f0599e Mon Sep 17 00:00:00 2001 From: Yussef Asaad Date: Thu, 4 Sep 2025 20:18:58 +0300 Subject: [PATCH] fix(dashboard): remove nodejs runtime from middleware to restore edge compatibility --- dashboard/final-example/middleware.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/dashboard/final-example/middleware.ts b/dashboard/final-example/middleware.ts index 33d3a2af..b1f31921 100644 --- a/dashboard/final-example/middleware.ts +++ b/dashboard/final-example/middleware.ts @@ -6,5 +6,4 @@ 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', };