File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
frontend/src/pages/loginPage/api Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export async function loginWithGitHub(): Promise<void> {
99 } ) ;
1010
1111 if ( response . type === 'opaqueredirect' || response . ok || ( response . status >= 300 && response . status < 400 ) ) {
12- window . location . href = ' /api/auth/github' ;
12+ window . location . href = ` ${ import . meta . env . VITE_API_URL } /api/auth/github` ;
1313 } else {
1414 throw new Error ( '서버 응답이 올바르지 않습니다.' ) ;
1515 }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export async function loginWithKakao(): Promise<void> {
99 } ) ;
1010
1111 if ( response . type === 'opaqueredirect' || response . ok || ( response . status >= 300 && response . status < 400 ) ) {
12- window . location . href = ' /api/auth/kakao' ;
12+ window . location . href = ` ${ import . meta . env . VITE_API_URL } /api/auth/kakao` ;
1313 } else {
1414 throw new Error ( '서버 응답이 올바르지 않습니다.' ) ;
1515 }
You can’t perform that action at this time.
0 commit comments