Skip to content

Commit

Permalink
Merge pull request #77 from goalSetter09/fix/cors-config
Browse files Browse the repository at this point in the history
[�FIX] cors 전체 허용(임시)
  • Loading branch information
goalSetter09 authored Feb 10, 2025
2 parents 2639530 + e0986ef commit 5b15ae8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();

config.setAllowCredentials(true);
config.setAllowedOrigins(List.of(ORIGINS));
// config.setAllowedOrigins(List.of(ORIGINS));
config.addAllowedOrigin("*");
config.addAllowedHeader("*");
config.addAllowedMethod("*");
config.setExposedHeaders(List.of(ALLOWED_HEADERS));
Expand Down

0 comments on commit 5b15ae8

Please sign in to comment.