Skip to content

Commit

Permalink
fix(cors): cors 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
zeus6768 committed Aug 6, 2024
1 parent ec5034b commit eaa0c4c
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)
.allowedOrigins("*")
.allowedOriginPatterns("*")
.allowedMethods("*")
.exposedHeaders("*");
}
Expand Down

0 comments on commit eaa0c4c

Please sign in to comment.