add nextjs and migrated api to next api
This commit is contained in:
5
apps/web/src/pages/api/auth/[...nextauth].ts
Normal file
5
apps/web/src/pages/api/auth/[...nextauth].ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import NextAuth from "next-auth";
|
||||
|
||||
import { authOptions } from "@/server/auth";
|
||||
|
||||
export default NextAuth(authOptions);
|
||||
Reference in New Issue
Block a user