should work on both localhost and outside.
This commit is contained in:
2
App.tsx
2
App.tsx
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user