Skip to content

Commit

Permalink
remove: h2Console 제거 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 committed Oct 10, 2023
1 parent dd3cb0c commit c533184
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;
import java.util.stream.Stream;
import static org.springframework.boot.autoconfigure.security.servlet.PathRequest.toH2Console;

@EnableWebSecurity
@Configuration
Expand All @@ -47,7 +46,6 @@ public class WebSecurityConfig {
@Bean
public WebSecurityCustomizer configure() {
return (web) -> web.ignoring()
.requestMatchers(toH2Console())
.requestMatchers(AntPathRequestMatcher.antMatcher("/static/**"));
}

Expand Down

0 comments on commit c533184

Please sign in to comment.