Skip to content

Commit

Permalink
Fix(*): cors 누락 메소드 추가 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
InHyeok-J authored Sep 24, 2024
1 parent b51b34e commit b8e4294
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "https://devweb.jabiseo.com")
.allowedMethods("POST", "GET", "DELETE", "PATCH", "OPTIONS")
.allowedMethods("POST", "GET", "DELETE", "PATCH", "OPTIONS","PUT")
.allowCredentials(true);
}

Expand Down

0 comments on commit b8e4294

Please sign in to comment.