Skip to content

Commit

Permalink
chore: cors 에 서버 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
EunChanNam committed Nov 15, 2023
1 parent a95a301 commit 72433e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(final CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080")
.allowedOrigins("http://localhost:8080", "http://13.59.136.85:8080")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*");
}
Expand Down

0 comments on commit 72433e0

Please sign in to comment.