Skip to content

Commit

Permalink
feat : onboarding 페이지 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
purin48 committed May 17, 2024
1 parent 19811da commit 03f542d
Show file tree
Hide file tree
Showing 5 changed files with 644 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/today/meevote/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public void addInterceptors(InterceptorRegistry registry) {
"/api/**",
"/register",
"/login",
"/hello",
"/v3/api-docs",
"/swagger",
"/swagger-ui.html",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class ControllerAdvice {
@ExceptionHandler(UnauthenticatedException.class)
public String unauthenticatedException(UnauthenticatedException e){
log.error("unauthenticatedException", e);
return "redirect:/login";
return "redirect:/hello";
}

@ExceptionHandler(NotFoundException.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,9 @@ public String register() {
public String login() {
return "login/login";
}

@GetMapping("/hello")
public String hello() {
return "login/hello";
}
}
Loading

0 comments on commit 03f542d

Please sign in to comment.