Skip to content

Commit

Permalink
fix(cors): main 도메인 origin cors 허용 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jminkkk committed Sep 5, 2024
1 parent 95bd125 commit 66a1d5c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowCredentials(true)
.allowedOriginPatterns("https://*.code-zap.com")
.allowedOrigins("https://code-zap.com")
.allowedMethods("*")
.exposedHeaders("*");
}
Expand Down

0 comments on commit 66a1d5c

Please sign in to comment.