From 2c3ad1082e55a0bdd4d1b84ad76ea17709c4653d Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 30 Jul 2023 12:11:33 +0100 Subject: [PATCH] feat: skip next-auth sign in page --- app/api/auth/[...nextauth]/route.ts | 1 + components/pages/home/LoginButton.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index ca0b5b4..4c55320 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -4,3 +4,4 @@ import NextAuth from "next-auth"; const handler = NextAuth(authOptions); export { handler as GET, handler as POST }; +// admin.revolt.chat/panel/this/should/redirect/any/path diff --git a/components/pages/home/LoginButton.tsx b/components/pages/home/LoginButton.tsx index 10b2982..6dc620c 100644 --- a/components/pages/home/LoginButton.tsx +++ b/components/pages/home/LoginButton.tsx @@ -26,7 +26,7 @@ export function LoginButton() { return ( <> -