Skip to content

Commit

Permalink
♻️ [REFACTOR] WebConfig에 PATCH 메서드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kchaeeun committed Aug 17, 2024
1 parent 6d64aa5 commit e1ad4af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "http://localhost:3007","http://localhost:3008") //프론트 테스트 url
.allowedMethods("POST", "GET", "DELETE", "PUT")
.allowedMethods("POST", "GET", "DELETE", "PUT", "PATCH")
.allowedHeaders("*");
}
}

0 comments on commit e1ad4af

Please sign in to comment.