Skip to content

Commit

Permalink
Update CorsConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
miiiinju1 authored Oct 18, 2023
1 parent de219d9 commit 4f43b32
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public CorsConfigurationSource corsConfigurationSource() {
"https://api.morandi.co.kr",
"chrome-extension://ljkmahbkojffhjdjkghaljooajocajnf",//배포된 크롬 익스텐션
"chrome-extension://cmblaiddbfchipealeopkbbnboifeedc",
"chrome-extension://ckepgfjakcdkjpabldbamcfcjhcdojih"));
"chrome-extension://ckepgfjakcdkjpabldbamcfcjhcdojih",
"chrome-extension://lfhcfibdigjcendabogbkpcofcgkhfep"
));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
config.setExposedHeaders(List.of("*"));
Expand All @@ -33,4 +35,4 @@ public CorsConfigurationSource corsConfigurationSource() {
return source;
}

}
}

0 comments on commit 4f43b32

Please sign in to comment.