Skip to content

Commit

Permalink
REFACTOR : CorsConfig - Access-Control-Allow-Method "*" 로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
choidongkuen committed Oct 25, 2023
1 parent 008ba38 commit c7aced3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedMethods("*")
.allowedHeaders("*")
.allowedOriginPatterns("*")
.exposedHeaders("*")
Expand Down

0 comments on commit c7aced3

Please sign in to comment.