Skip to content

Commit

Permalink
feat: cors 오리진 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Nov 27, 2023
1 parent e90caf0 commit 5049b12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void addArgumentResolvers(final List<HandlerMethodArgumentResolver> resol
@Override
public void addCorsMappings(final CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("http://localhost:3000", "http://172.17.0.1:8080")
.allowedMethods("*")
.allowCredentials(true);
}
Expand Down

0 comments on commit 5049b12

Please sign in to comment.