Skip to content

Commit 67f9ca0

Browse files
committed
fix: exclude url 설정
1 parent a5968b0 commit 67f9ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/myteam/server/global/security/filter/TokenAuthenticationFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class TokenAuthenticationFilter extends OncePerRequestFilter {
4040
};
4141

4242
@Override
43-
protected boolean shouldNotFilter(HttpServletRequest request) {
43+
protected boolean shouldNotFilter(HttpServletRequest request) throws ServletException {
4444
String path = request.getRequestURI();
4545
boolean shouldExclude = Arrays.stream(excludePath).anyMatch(path::startsWith);
4646
log.info("[shouldNotFilter] path={}, excluded={}", path, shouldExclude); // 로그 추가

0 commit comments

Comments
 (0)