Skip to content

Commit

Permalink
fix: 로그인 리다이렉트 엔드포인트 복구 (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeryboy authored Sep 16, 2023
1 parent 1d23dda commit 11631f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CustomAuthenticationSuccessHandler(
response: HttpServletResponse,
authentication: Authentication
) {
val redirectUrl = "http://localhost:3000/login/success"
val redirectUrl = "${frontendEndpoint}/login/success"
response.sendRedirect(redirectUrl)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SecurityConfig(
response: HttpServletResponse?,
authentication: Authentication?
) {
val redirectUrl = "http://localhost:3000/logout/success"
val redirectUrl = "${endpointProperties.frontend}/logout/success"
super.setDefaultTargetUrl(redirectUrl)
super.onLogoutSuccess(request, response, authentication)
}
Expand Down

0 comments on commit 11631f7

Please sign in to comment.