Skip to content

Commit 8aef6c1

Browse files
committed
fix: 룸 채팅 api path 재 확인 후 허용 경로 수정
1 parent fb8d28a commit 8aef6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
3030
auth -> auth
3131
.requestMatchers("/api/auth/**").permitAll()
3232
.requestMatchers("/api/ws/**").permitAll()
33-
.requestMatchers("/api/chat/**").permitAll() // 스터디 룸 내에 잡혀있어 테스트 오류난 채팅 부분 임시 허용
33+
.requestMatchers("/api/rooms/*/messages/**").permitAll() //스터디 룸 내에 잡혀있어 있는 채팅 관련 전체 허용
3434
//.requestMatchers("/api/rooms/RoomChatApiControllerTest").permitAll() // 테스트용 임시 허용
3535
.requestMatchers("/","/swagger-ui/**", "/v3/api-docs/**").permitAll() // Swagger 허용
3636
.requestMatchers("/h2-console/**").permitAll() // H2 Console 허용

0 commit comments

Comments
 (0)