Skip to content

Commit 401fa4b

Browse files
committed
Fix: SecurityConfig 수정
- H2 DB 허용 X
1 parent 2fc31f0 commit 401fa4b

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
@@ -50,7 +50,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
5050
.requestMatchers(HttpMethod.GET, "/api/rooms/*").permitAll() // 방 상세 조회
5151
//.requestMatchers("/api/rooms/RoomChatApiControllerTest").permitAll() // 테스트용 임시 허용
5252
.requestMatchers("/","/swagger-ui/**", "/v3/api-docs/**").permitAll() // Swagger 허용
53-
.requestMatchers("/h2-console/**").permitAll() // H2 Console 허용
53+
// .requestMatchers("/h2-console/**").permitAll() // H2 Console 허용
5454
.requestMatchers("/actuator/health").permitAll() // 헬스 체크 허용
5555
.requestMatchers("/file/**").permitAll() // 파일 관련 요청 모두 허용(테스트 완료 후, 요청제한 예정)
5656
.anyRequest().authenticated()

0 commit comments

Comments
 (0)