From 58b98c1f98176f830b84fd26b07847a138005ecd Mon Sep 17 00:00:00 2001 From: JO HYUNGJOON Date: Wed, 11 Feb 2026 00:41:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SecurityConfig=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=AF=B8=EC=82=AC=EC=9A=A9=20h2-console=20permitAll=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ongil/backend/global/config/SecurityConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ongil/backend/global/config/SecurityConfig.java b/src/main/java/com/ongil/backend/global/config/SecurityConfig.java index 7662303..0823292 100644 --- a/src/main/java/com/ongil/backend/global/config/SecurityConfig.java +++ b/src/main/java/com/ongil/backend/global/config/SecurityConfig.java @@ -35,8 +35,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { .httpBasic(AbstractHttpConfigurer::disable) .authorizeHttpRequests(auth -> auth - // [1] 시스템 및 문서화 관련 (Swagger, H2 Console) - .requestMatchers("/ping", "/h2-console/**", "/swagger-ui/**", "/v3/api-docs/**").permitAll() + // [1] 시스템 및 문서화 관련 (Swagger) + .requestMatchers("/ping", "/swagger-ui/**", "/v3/api-docs/**").permitAll() // [Admin] 관리자 API (Swagger 테스트용) .requestMatchers("/api/admin/**").permitAll()