Skip to content

Commit

Permalink
Merge pull request #369 from SWM-NM/feat/#368
Browse files Browse the repository at this point in the history
🐛 [FIX] swagger post 오류 해결 #368
  • Loading branch information
miiiinju1 authored Sep 25, 2023
2 parents bdb5125 + 224078e commit 56d8e4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();

config.setAllowCredentials(true);
config.setAllowedOrigins(List.of("http://localhost:3000","http://morandi.co.kr", "https://morandi.co.kr"));
config.setAllowedOrigins(List.of("http://localhost:3000","http://morandi.co.kr", "https://morandi.co.kr", "http://api.morandi.co.kr", "https://api.morandi.co.kr"));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
config.setExposedHeaders(List.of("*"));
Expand Down

0 comments on commit 56d8e4c

Please sign in to comment.