diff --git a/src/main/java/io/sobok/SobokSobok/config/SecurityConfig.java b/src/main/java/io/sobok/SobokSobok/config/SecurityConfig.java index 7c87491..efaef6f 100644 --- a/src/main/java/io/sobok/SobokSobok/config/SecurityConfig.java +++ b/src/main/java/io/sobok/SobokSobok/config/SecurityConfig.java @@ -4,7 +4,7 @@ import io.sobok.SobokSobok.security.filter.JwtCustomFilter; import io.sobok.SobokSobok.security.jwt.JwtProvider; import lombok.RequiredArgsConstructor; -import org.springframework.boot.autoconfigure.security.servlet.PathRequest; +//import org.springframework.boot.autoconfigure.security.servlet.PathRequest; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; @@ -50,7 +50,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti .headers(header -> header.frameOptions(HeadersConfigurer.FrameOptionsConfig::sameOrigin)) .formLogin(AbstractHttpConfigurer::disable) .authorizeHttpRequests(request -> request - .requestMatchers(PathRequest.toH2Console()).permitAll() +// .requestMatchers(PathRequest.toH2Console()).permitAll() .requestMatchers( Stream .of(WHITE_LIST)