add new env vars

This commit is contained in:
Jonathan Summers-Muir committed 2022-10-04 23:20:23 +08:00
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
+1 -1
View File
@@ -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()}`,
},
})
}