Skip to content

Commit 5bea28a

Browse files
authored
feat: nodejs runtime for middleware (#1087)
1 parent 1041eea commit 5bea28a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dashboard/final-example/middleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ export default NextAuth(authConfig).auth;
66
export const config = {
77
// https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
88
matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)'],
9+
runtime: 'nodejs',
910
};

0 commit comments

Comments
 (0)