Skip to content

Commit 1765e9a

Browse files
authored
Merge pull request #355 from prgrms-web-devcourse-final-project/fix#354
[fix] 칵테일 security config 필터 추가
2 parents 9d79361 + 024f3a4 commit 1765e9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/back/global/security/SecurityConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
7272
//르프레시 갱신 및 칵테일 검색
7373
.requestMatchers(GET, "/user/auth/me").permitAll()
7474
.requestMatchers(POST, "/user/auth/refresh").permitAll()
75+
.requestMatchers(GET, "/cocktails").permitAll()
76+
.requestMatchers(GET, "/cocktails/{id}").permitAll()
7577
.requestMatchers(POST, "/cocktails/search").permitAll()
7678

7779
// 권한 불필요 - 조회 API

0 commit comments

Comments
 (0)