File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/example/log4u/common Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ public class UrlConstants {
77 public static final String FRONT_VERCEL_ORIGIN = "https://fe-log4u.vercel.app" ;
88
99 // 임시로 메인
10- public static final String PROFILE_CREATE_URL = FRONT_VERCEL_ORIGIN + "/" ;
11- public static final String LOGIN_URL = FRONT_VERCEL_ORIGIN + "login" ;
10+ public static final String PROFILE_CREATE_URL = FRONT_VERCEL_ORIGIN + "/profile/make " ;
11+ public static final String LOGIN_URL = FRONT_VERCEL_ORIGIN + "/ login" ;
1212
1313 // 내 프로필 페이지가 메인
1414 public static final String MAIN_URL = FRONT_VERCEL_ORIGIN + "me" ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ private void setCookieAndSaveRefreshToken(
8484 private void redirectTo (HttpServletResponse response , CustomOAuth2User customOAuth2User ) throws IOException {
8585 switch (customOAuth2User .getRole ()) {
8686 // 프론트 페이지 부재로 임시 비활성화
87- case "ROLE_GUEST" -> response .sendRedirect (FRONT_VERCEL_ORIGIN );
87+ case "ROLE_GUEST" -> response .sendRedirect (PROFILE_CREATE_URL );
8888 case "ROLE_USER" -> response .sendRedirect (FRONT_VERCEL_ORIGIN );
8989 default -> {
9090 // 로그인이 필요한 경우 401
You can’t perform that action at this time.
0 commit comments