Skip to content

Commit 9b1a00d

Browse files
committed
feat: redirect_local로 변경
1 parent efb522d commit 9b1a00d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/auth/googleLogin/util/getAccessToken.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import axiosInstance from '@/api/axiosInstance';
22

33
const getAccessToken = async (code: string) => {
4-
const redirectUri = import.meta.env.VITE_GOOGLE_REDIRECT_URI;
4+
const redirectUri = import.meta.env.VITE_GOOGLE_REDIRECT_URI_LOCAL;
55

66
const response = await axiosInstance.post(
77
`/auth/oauth2/google/callback?redirect_uri=${redirectUri}`,
88
{ code },
99
);
10+
1011
return response.data.data;
1112
};
1213

0 commit comments

Comments
 (0)