svrjs-nextjs-website/app/api/auth/[...nextauth]/route.ts

7 lines
165 B
TypeScript
Raw Normal View History

2024-07-30 21:17:07 +02:00
import NextAuth from "next-auth/next";
import { authOptions } from "./options";
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };