From 84d0cef1d11142f5a9d3f2448f8b41e9d04e21ea Mon Sep 17 00:00:00 2001 From: shadcn Date: Tue, 25 Apr 2023 17:27:11 +0400 Subject: [PATCH] chore: switch back to route handlers --- app/api/auth/[...nextauth]/{_route.ts => route.ts} | 0 pages/api/auth/[...nextauth].ts | 6 ------ 2 files changed, 6 deletions(-) rename app/api/auth/[...nextauth]/{_route.ts => route.ts} (100%) delete mode 100644 pages/api/auth/[...nextauth].ts diff --git a/app/api/auth/[...nextauth]/_route.ts b/app/api/auth/[...nextauth]/route.ts similarity index 100% rename from app/api/auth/[...nextauth]/_route.ts rename to app/api/auth/[...nextauth]/route.ts diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts deleted file mode 100644 index 2d2d579..0000000 --- a/pages/api/auth/[...nextauth].ts +++ /dev/null @@ -1,6 +0,0 @@ -import NextAuth from "next-auth" - -import { authOptions } from "@/lib/auth" - -// @see ./lib/auth -export default NextAuth(authOptions)