Skip to content

Commit

Permalink
Merge pull request #61 from saessagMarket/hoxfix/cors-add-patch
Browse files Browse the repository at this point in the history
CORS PATCH 메서드 추가
  • Loading branch information
JinTaekLim authored Jan 28, 2025
2 parents b4c2d78 + 696d70e commit 89b7c09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CorsConfigurationSource corsConfigurationSource() {
"http://localhost:3000", // 로컬 개발 서버
"https://saessagmarket.netlify.app" // Netlify 배포 환경
));
config.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
config.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"));
config.setAllowedHeaders(List.of("*"));
config.setAllowCredentials(true);
config.setMaxAge(3600L);
Expand Down

0 comments on commit 89b7c09

Please sign in to comment.