Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

add new env vars

Jonathan Summers-Muir804d8bf79d9b
diff --git a/studio/components/interfaces/Home/Landing.tsx b/studio/components/interfaces/Home/Landing.tsx
index c76796d0782..e6e71a031ad 100644
--- a/studio/components/interfaces/Home/Landing.tsx
+++ b/studio/components/interfaces/Home/Landing.tsx
@@ -16,7 +16,7 @@ const Landing = () => {
const { error } = await auth.signInWithOAuth({
provider: 'github',
options: {
- redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}?auth=true`,
+ redirectTo: `${process.env.VERCEL_URL}?auth=true`,
},
})
if (error) throw error
diff --git a/studio/pages/index.tsx b/studio/pages/index.tsx
index c85615379e9..668e62c6c7b 100644
--- a/studio/pages/index.tsx
+++ b/studio/pages/index.tsx
@@ -61,7 +61,7 @@ const UnauthorizedLanding = () => {
auth.signInWithOAuth({
provider: 'github',
options: {
- redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}?${params.toString()}`,
+ redirectTo: `${process.env.VERCEL_URL}?${params.toString()}`,
},
})
}