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

7 lines
165 B
TypeScript
Raw Normal View History

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