Skip to content

Commit

Permalink
chore: CORS origin url pattern 을 통한 유연성 추가
Browse files Browse the repository at this point in the history
원활한 작업을 위한 임시 추가이므로 추후에 변경되어야함
  • Loading branch information
Hoya324 committed Mar 1, 2025
1 parent cb03931 commit 6c11531
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private void defaultFilterChain(HttpSecurity http) throws Exception {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.addAllowedOrigin("*");
configuration.addAllowedOriginPattern("*");
configuration.addAllowedHeader("*");
configuration.addAllowedMethod("*");
configuration.setAllowCredentials(true);
Expand Down

0 comments on commit 6c11531

Please sign in to comment.