I see this error with the app, reported by NextJS, please fix it. The er

This commit is contained in:
Leon Serfaty G
2025-09-01 06:54:08 +00:00
parent ad0543a9a1
commit ea6c6f3514
3 changed files with 11 additions and 12 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
import NextAuth from 'next-auth';
import { authConfig } from '@/auth.config';
import { handlers, auth, signIn, signOut } from '@/auth';
export const { handlers, auth, signIn, signOut } = NextAuth(authConfig);
export const { GET, POST } = handlers;
export const GET = handlers.GET;
export const POST = handlers.POST;
export { auth, signIn, signOut };
export const runtime = "nodejs";