Skip to content

Commit

Permalink
domain 값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
HwangHoYoon committed Jan 20, 2024
1 parent 5499aad commit a44bb69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public CorsConfigurationSource corsConfigurationSource() {

config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
config.setExposedHeaders(List.of("Set-Cookie"));
config.setExposedHeaders(List.of("*"));

UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
source.registerCorsConfiguration("/**", config);
Expand Down

0 comments on commit a44bb69

Please sign in to comment.