2025-01-02 12:16:25 +01:00

6 lines
165 B
TypeScript

import { authOptions } from 'lib/auth/config';
import NextAuth from 'next-auth';
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };