Skip to content

Commit 03f542d

Browse files
committed
feat : onboarding 페이지 추가
1 parent 19811da commit 03f542d

File tree

5 files changed

+644
-1
lines changed

5 files changed

+644
-1
lines changed

src/main/java/today/meevote/config/WebConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public void addInterceptors(InterceptorRegistry registry) {
2020
"/api/**",
2121
"/register",
2222
"/login",
23+
"/hello",
2324
"/v3/api-docs",
2425
"/swagger",
2526
"/swagger-ui.html",

src/main/java/today/meevote/controllerAdvice/ControllerAdvice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ControllerAdvice {
1313
@ExceptionHandler(UnauthenticatedException.class)
1414
public String unauthenticatedException(UnauthenticatedException e){
1515
log.error("unauthenticatedException", e);
16-
return "redirect:/login";
16+
return "redirect:/hello";
1717
}
1818

1919
@ExceptionHandler(NotFoundException.class)

src/main/java/today/meevote/domain/etc/controller/ViewController.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,9 @@ public String register() {
5656
public String login() {
5757
return "login/login";
5858
}
59+
60+
@GetMapping("/hello")
61+
public String hello() {
62+
return "login/hello";
63+
}
5964
}

0 commit comments

Comments
 (0)