I see this error with the app, reported by NextJS, please fix it. The er
This commit is contained in:
+3
-1
@@ -3,7 +3,9 @@ import { auth } from '@/auth';
|
|||||||
|
|
||||||
export default auth;
|
export default auth;
|
||||||
|
|
||||||
|
export const runtime = 'nodejs';
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
// https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
|
// 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).*)'],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user