From f59879fa5d151eea305f4ae92477d8fdd2149dc4 Mon Sep 17 00:00:00 2001 From: Daniel Farina Date: Wed, 22 Nov 2023 20:02:16 -0500 Subject: [PATCH] add base path to redirect url --- packages/unsaged/app/auth/signin/auth-form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/unsaged/app/auth/signin/auth-form.tsx b/packages/unsaged/app/auth/signin/auth-form.tsx index ce27006e..f476f20f 100644 --- a/packages/unsaged/app/auth/signin/auth-form.tsx +++ b/packages/unsaged/app/auth/signin/auth-form.tsx @@ -6,7 +6,7 @@ import { Database } from '@/types/supabase.types' export default function AuthForm() { const supabase = createClientComponentClient() - const providersFromEnv = process.env.AUTH_PROVIDERS ? process.env.AUTH_PROVIDERS.split(',') : []; + const baseUrl = process.env.NEXT_PUBLIC_SITE_URL; // Access the environment variable return ( ) }