svrjs-nextjs-website/app/api/auth/[...nextauth]/route.ts
2024-07-31 00:47:07 +05:30

6 lines
165 B
TypeScript

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