should work on both localhost and outside.

This commit is contained in:
pulipakaa24
2026-03-19 13:48:19 -05:00
parent 6026e4dda6
commit 8c2f8fa7b1
11 changed files with 157 additions and 61 deletions

View File

@@ -47,7 +47,7 @@ export default function App() {
<Button
variant="outline"
className="w-full flex items-center gap-3"
onClick={() => signIn.social({ provider: "google", callbackURL: "/" })}
onClick={() => signIn.social({ provider: "google", callbackURL: window.location.origin })}
>
<svg viewBox="0 0 24 24" className="h-4 w-4" xmlns="http://www.w3.org/2000/svg">
<path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4"/>