Skip to content

Commit

Permalink
fix: CORS 도메인 수정 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 authored Feb 22, 2024
1 parent f751a8d commit adb39f1
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", "https://www.repick.shop", "https://repick.shop", "https://appleid.apple.com"));
config.setAllowedOrigins(List.of("http://localhost:3000", "https://www.repick-server.shop", "https://repick-server.shop", "https://appleid.apple.com"));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
config.setExposedHeaders(List.of("*"));
Expand Down

0 comments on commit adb39f1

Please sign in to comment.