Skip to content

Commit

Permalink
Merge pull request #52 from How-homework-out/master
Browse files Browse the repository at this point in the history
[fix] patch preflight 오류 해결 시도
  • Loading branch information
ryulkim authored Nov 27, 2023
2 parents 27ab033 + 1079c90 commit 41ffd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/inha/how/Config/WebMvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry){
registry.addMapping("/**")
.allowedOrigins("*")
.allowedMethods("OPTIONS", "GET", "POST", "PUT", "DELETE");
.allowedMethods("OPTIONS", "GET", "POST", "PUT", "DELETE", "PATCH");
}

@Override
Expand Down

0 comments on commit 41ffd52

Please sign in to comment.