Files
Calbook/app/api/auth/[...nextauth]/route.ts

9 lines
210 B
TypeScript

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