Skip to content

Commit

Permalink
chore: 서비스 출시 전 CORS 정책 와일드카드
Browse files Browse the repository at this point in the history
  • Loading branch information
DWL21 committed Feb 7, 2025
1 parent cc81ad3 commit 60eea3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class WebConfig {
return object : WebMvcConfigurer {
override fun addCorsMappings(registry: CorsRegistry) {
registry.addMapping("/**")
.allowedOrigins(*corsProperties.allowedOrigins)
.allowedOrigins("*")
.allowedHeaders("*")
.allowedMethods(GET.name(), POST.name(), PUT.name(), DELETE.name(), OPTIONS.name())
.allowCredentials(false)
Expand Down

0 comments on commit 60eea3c

Please sign in to comment.