Skip to content

Commit

Permalink
build: 서버 ip 변경으로 인한 cors 매핑
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Mar 5, 2024
1 parent e11ec3b commit 183e2ea
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", "http://3.36.74.65")
.allowedOrigins("http://localhost:3000", "http://13.125.241.152")
.allowedMethods("*")
.allowCredentials(true);
}
Expand Down

0 comments on commit 183e2ea

Please sign in to comment.