From 18ab071ca6781ff0ccedad8579b491b74f2e3e0c Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Wed, 12 Mar 2025 15:02:02 +0800 Subject: [PATCH] feat(auth): create route.ts for NextAuth API handler --- src/app/api/auth/[...nextauth]/route.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/app/api/auth/[...nextauth]/route.ts diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts new file mode 100644 index 0000000..86c9f3d --- /dev/null +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -0,0 +1,3 @@ +import { handlers } from "@/auth"; + +export const { GET, POST } = handlers;