Skip to content

Commit

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

cors 설정 롤백
  • Loading branch information
HoeSeong123 authored Sep 5, 2024
2 parents 8ba850f + 12c1484 commit 7c7cc4a
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("*")
.allowedOriginPatterns("https://*.code-zap.com")
.allowedMethods("*")
.exposedHeaders("*");
}
Expand Down

0 comments on commit 7c7cc4a

Please sign in to comment.