Skip to content

Commit

Permalink
Merge pull request #61 from kookmin-sw/feat/debug2
Browse files Browse the repository at this point in the history
feat: include path pattern
  • Loading branch information
KimChanJin97 authored May 10, 2024
2 parents 0f87502 + 7ec4dc6 commit 4bb3043
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/capstone/facefriend/auth/config/AuthConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ private HandlerInterceptor loginCheckInterceptor() {
.addIncludePathPattern("/my-resume", ANY)
.addIncludePathPattern("/resume-by-good-combi", ANY)
.addIncludePathPattern("/resume-by-category", ANY)
.addIncludePathPattern("/room/list", GET)
.addIncludePathPattern("/stomp/disconnect", POST)
.addIncludePathPattern("/chat/**", GET)
.addIncludePathPattern("/room/**", POST)

.addExcludePathPattern("/auth/reissue/**", POST); // 토큰 만료 시에는 해당 요청을 가로채지 않아야 합니다.
}
Expand All @@ -74,6 +78,10 @@ private HandlerInterceptor loginInterceptor() {
.addIncludePathPattern("/my-resume", ANY)
.addIncludePathPattern("/resume-by-good-combi", ANY)
.addIncludePathPattern("/resume-by-category", ANY)
.addIncludePathPattern("/room/list", GET)
.addIncludePathPattern("/stomp/disconnect", POST)
.addIncludePathPattern("/chat/**", GET)
.addIncludePathPattern("/room/**", POST)

.addExcludePathPattern("/auth/reissue", POST); // 토큰 만료 시에는 해당 요청을 가로채지 않아야 합니다.
}
Expand All @@ -99,6 +107,10 @@ private HandlerInterceptor tokenBlackListInterceptor() {
.addIncludePathPattern("/my-resume", ANY)
.addIncludePathPattern("/resume-by-good-combi", ANY)
.addIncludePathPattern("/resume-by-category", ANY)
.addIncludePathPattern("/room/list", GET)
.addIncludePathPattern("/stomp/disconnect", POST)
.addIncludePathPattern("/chat/**", GET)
.addIncludePathPattern("/room/**", POST)
;
}

Expand Down

0 comments on commit 4bb3043

Please sign in to comment.