10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
import NextAuth from "next-auth";
|
|
export const dynamic = "force-dynamic";
|
|
export const runtime = "nodejs";
|
|
|
|
import { authOptions } from "@/lib/auth";
|
|
|
|
const handler = NextAuth(authOptions);
|
|
|
|
export { handler as GET, handler as POST };
|