Skip to content

Commit

Permalink
[BE] chore : CORS 임시 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
320Hwany committed May 1, 2024
1 parent 1546bdd commit f0bc9b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/main/java/moim_today/global/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public void addArgumentResolvers(final List<HandlerMethodArgumentResolver> resol
@Override
public void addCorsMappings(final CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("*")
.allowedMethods("*")
.allowCredentials(true);
.allowCredentials(true)
.allowedOriginPatterns("*");
}
}

0 comments on commit f0bc9b7

Please sign in to comment.