Skip to content

Commit a1e49a2

Browse files
committed
feat : redirect uri 반영(suffix 추가)
1 parent 8a7f976 commit a1e49a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/google-login-button.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
'use client'
22

33
import { Button } from '@/components/ui/button'
4-
import { serverFetch } from '@/utils/fetch/fetch'
54

65
export function GoogleLoginButton() {
76
const handleGoogleLogin = () => {
8-
window.location.href = `${process.env.NEXT_PUBLIC_SERVER_URL}/auth/GOOGLE?redirect=${process.env.NEXT_PUBLIC_REDIRECT_URL}`
7+
window.location.href = `${process.env.NEXT_PUBLIC_SERVER_URL}/auth/GOOGLE?redirect=${process.env.NEXT_PUBLIC_REDIRECT_URL}/auth`
98
}
109

1110
return (

0 commit comments

Comments
 (0)