mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 21:29:08 +03:00
add new env vars
This commit is contained in:
1 parent
d443f15c49
commit
804d8bf79d
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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()}`,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user