Skip to content

Commit

Permalink
Refactor: swagger에 대해 필터 예외 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
qjvk2880 committed May 30, 2024
1 parent 3259dc6 commit df9aac8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private void setAuthentication(String accessToken) {
@Override
protected boolean shouldNotFilter(HttpServletRequest request) {
String path = request.getRequestURI();
return path.startsWith("/api/auth");
return path.startsWith("/api/auth") || path.startsWith("/swagger-ui");
}

private String parseBearerToken(HttpServletRequest request) {
Expand Down

0 comments on commit df9aac8

Please sign in to comment.