svrjs-nextjs-website/app/api/auth/[...nextauth]/route.ts
2024-06-27 01:17:18 +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 };