Skip to content

Commit

Permalink
Merge pull request #597 from woowacourse-teams/revert-595-refactor/59…
Browse files Browse the repository at this point in the history
…4-cors-origin-set

Revert "cors를 허용하는 origin 지정"
  • Loading branch information
HoeSeong123 authored Sep 5, 2024
2 parents ae61cfe + cece98d commit 8ba850f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WebCorsConfiguration implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowCredentials(true)
.allowedOriginPatterns("https://*.code-zap.com")
.allowedOriginPatterns("*")
.allowedMethods("*")
.exposedHeaders("*");
}
Expand Down

0 comments on commit 8ba850f

Please sign in to comment.