Open sungwon-097 opened 1 year ago
// Before @Override public void configure(WebSecurity web){ web.ignore().antMatchers("/assets/**", "/h2-console/**", "/api/hello2"); } // After @Bean public WebSecurityCustomizer webSecurityCustomizer(){ return (web) -> web.ignoring().antMatchers("/assets/**", "/h2-console/**", "/api/hello2"); }