mirror of
https://github.com/LukeHagar/Sveltey.git
synced 2025-12-06 04:21:38 +00:00
corrected redirect
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user