content: package kr.megaptera.makaobank;
  
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  import org.springframework.context.annotation.Bean;
  import org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer;
  import org.springframework.web.servlet.config.annotation.CorsRegistry;
  import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
  
  @SpringBootApplication
  public class MakaobankApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(MakaobankApplication.class, args);
      }
  
      @Bean
      public WebSecurityCustomizer ignoringCustomizer() {
          return (web) -> web.ignoring().antMatchers("/**");
      }
  
      @Bean
      public WebMvcConfigurer corsConfigurer() {
          return new WebMvcConfigurer() {
              @Override
              public void addCorsMappings(CorsRegistry registry) {
                  registry.addMapping("/**").allowedOrigins("*");
              }
          };
      }
  
  }
  