Files
property-pulse-nextjs/app/api/auth/[...nextauth]/route.js
T

7 lines
175 B
JavaScript

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