Skip to content

Commit

Permalink
refactor: 리다이렉트url을 value로 주입받음
Browse files Browse the repository at this point in the history
  • Loading branch information
westzeroright authored and rbm0524 committed Nov 8, 2024
1 parent 49c0dd0 commit 22ccb54
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public ResponseEntity<ApiResponse<String>> getToken(
.headers(headers)
.body(ApiResponse.with(HttpStatus.OK, "로그인 성공", serviceToken));
} else {
String redirectPage = "http://localhost:3000/signup";
String redirectUrl = redirectPage + "?email=" + userKakaoEmail;
String redirectUrl = redirectPage + userKakaoEmail;
try {
httpServletResponse.sendRedirect(redirectUrl);
} catch (IOException e) {
Expand Down

0 comments on commit 22ccb54

Please sign in to comment.