Skip to content

Commit 826d466

Browse files
committed
refactor: oauth도 백엔드로 요청넘기게 바꿈
1 parent d8b732f commit 826d466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export const authAPI = {
233233

234234
// 소셜 로그인
235235
socialLogin: async (provider: 'kakao' | 'github' | 'naver') => {
236-
const apiUrl = "https://cs25.co.kr" || "http://localhost:8080";
236+
const apiUrl = "https://cs25.co.kr/api" || "http://localhost:8080";
237237
window.location.href = `${apiUrl}/oauth2/authorization/${provider}`;
238238
}
239239
};

0 commit comments

Comments
 (0)