6 lines
160 B
TypeScript

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