Skip to content

Commit

Permalink
!hotfix: CORS 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kimday0326 committed Jul 26, 2024
1 parent 16b9409 commit 58a041a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public static CorsConfigurationSource apiConfigurationSource() {
ArrayList<String> allowedHttpMethods = new ArrayList<>();
allowedHttpMethods.add("GET");
allowedHttpMethods.add("POST");
allowedHttpMethods.add("PUT");
allowedHttpMethods.add("PATCH");
allowedHttpMethods.add("DELETE");

configuration.setAllowedOrigins(allowedOriginPatterns);
configuration.setAllowedMethods(allowedHttpMethods);
Expand Down

0 comments on commit 58a041a

Please sign in to comment.