Skip to content

Commit

Permalink
Update SecurityConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ss7622 authored Jul 16, 2024
1 parent 04b6ce2 commit 0b7ed74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public CorsConfigurationSource corsConfigurationSource() {
corsConfiguration.setAllowCredentials(true);

UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
source.registerCorsConfiguration("/**", corsConfiguration); // 모든 경로에 대해서 CORS 설정을 적용
source.registerCorsConfiguration("/**", corsConfiguration);

return source;
}
Expand Down

0 comments on commit 0b7ed74

Please sign in to comment.