corrected redirect

This commit is contained in:
Luke Hagar
2025-05-28 12:03:53 -05:00
parent 29bc4548f3
commit cff5fccdee

View File

@@ -118,7 +118,7 @@
const { error } = await supabase.auth.signInWithOAuth({ const { error } = await supabase.auth.signInWithOAuth({
provider: provider as any, provider: provider as any,
options: { options: {
redirectTo: `${window.location.origin}/dashboard` redirectTo: `${window.location.origin}/app/dashboard`
} }
}); });
if (error) throw error; if (error) throw error;