Skip to content

Commit

Permalink
Update next-auth handler route.
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed May 28, 2023
1 parent ffba727 commit fdd0542
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { authOptions } from "@/server/auth";
import NextAuth from "next-auth";

const handler = NextAuth(authOptions);

export { handler as GET, handler as POST };
4 changes: 0 additions & 4 deletions src/pages/api/auth/[...nextauth].ts

This file was deleted.

1 comment on commit fdd0542

@vercel
Copy link

@vercel vercel bot commented on fdd0542 May 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sendcv – ./

sendcv-git-main-pheralb.vercel.app
sendcv.vercel.app
sendcv-pheralb.vercel.app

Please sign in to comment.