Skip to content

Commit

Permalink
[BE] fix : cors orogin 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
320Hwany committed May 3, 2024
1 parent 532700f commit d98ff04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void addArgumentResolvers(final List<HandlerMethodArgumentResolver> resol
@Override
public void addCorsMappings(final CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("*")
.allowedOriginPatterns("**")
.allowCredentials(true)
.allowedHeaders("*")
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
Expand Down

0 comments on commit d98ff04

Please sign in to comment.