Skip to content

Commit 6bce880

Browse files
committed
Fix Google OAuth redirect URL for HashRouter
1 parent 7f795d8 commit 6bce880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/supabase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const signInWithGoogle = async () => {
2525
const { data, error } = await supabase.auth.signInWithOAuth({
2626
provider: 'google',
2727
options: {
28-
redirectTo: `${window.location.origin}/quiz`,
28+
redirectTo: `${window.location.origin}/#/quiz`,
2929
},
3030
});
3131
return { data, error };

0 commit comments

Comments
 (0)