mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-11 09:51:47 +00:00
feat: nodejs runtime for middleware (#1087)
This commit is contained in:
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user