Skip to content

Commit

Permalink
HOTFIX: cors 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Dec 2, 2024
1 parent 7e21079 commit 61b877c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public CorsConfigurationSource source() {
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PATCH", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(Arrays.asList("*"));
configuration.setExposedHeaders(Arrays.asList("Authorization", "Authorization_refresh"));
configuration.setAllowCredentials(false);
configuration.setAllowCredentials(true);

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

0 comments on commit 61b877c

Please sign in to comment.