Skip to content

Commit 278e2bc

Browse files
author
arifuddincoder
committed
fix: handleGoogleLogin update
1 parent 169b124 commit 278e2bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/modules/Auth/LoginForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const LoginForm = ({ redirectPath }: LoginFormProps) => {
4444
});
4545

4646
const handleGoogleLogin = () => {
47-
window.location.href = `${process.env.NEXT_PUBLIC_API_BASE_URL}/auth/google?redirect=/dashboard`;
47+
window.location.href = `https://cinetube.arifuddincoder.site/api/auth/sign-in/social/google?callbackURL=${encodeURIComponent("https://cinetube.arifuddincoder.site/api/v1/auth/google/success")}`;
4848
};
4949

5050
return (

0 commit comments

Comments
 (0)