Skip to content

Commit

Permalink
cors-policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ForthA committed Dec 15, 2024
1 parent b1132e0 commit 47d1468
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
@Configuration
@EnableWebMvc
public class WebConfig implements WebMvcConfigurer {
/*
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**");
}
/*
@Bean
public FilterRegistrationBean hiddenHttpMethodFilter() {
FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean(new HiddenHttpMethodFilter());
Expand Down

0 comments on commit 47d1468

Please sign in to comment.