Skip to content

Commit

Permalink
fix: jwt 필터 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong-Mu committed May 1, 2024
1 parent 8fd51fd commit 605dfd2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ protected boolean shouldNotFilter(HttpServletRequest request) {
skipPathList.add(new AntPathRequestMatcher("/api/auth/token/refresh", HttpMethod.POST.name()));
skipPathList.add(new AntPathRequestMatcher("/api/oauth/kakao", HttpMethod.GET.name()));
skipPathList.add(new AntPathRequestMatcher("/api/weather", HttpMethod.GET.name()));
skipPathList.add(new AntPathRequestMatcher("/api/posts", HttpMethod.POST.name()));
skipPathList.add(new AntPathRequestMatcher("/api/posts", HttpMethod.PUT.name()));
skipPathList.add(new AntPathRequestMatcher("/api/posts", HttpMethod.DELETE.name()));

skipPathList.add(new AntPathRequestMatcher("/api/posts", HttpMethod.GET.name()));
skipPathList.add(new AntPathRequestMatcher("/api/posts/*/likes", HttpMethod.GET.name()));
skipPathList.add(new AntPathRequestMatcher("/api/posts/*/reviews", HttpMethod.GET.name()));

Expand Down

0 comments on commit 605dfd2

Please sign in to comment.