diff --git a/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java b/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java index 4406e52..e659114 100644 --- a/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java +++ b/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java @@ -37,8 +37,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo String token = jwtUtil.createJwt(username, role, 60 * 60 * 1000L); - //response.sendRedirect("https://www.to-gather.info/redirect?code=" + "Bearer " + token); - response.sendRedirect("http://localhost:5173/redirect?code=" + "Bearer " + token); + response.sendRedirect("https://www.to-gather.info/redirect?code=" + "Bearer " + token); } }