Skip to content

Commit

Permalink
build:
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Aug 13, 2024
1 parent 81a40cc commit 5d21ae5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected SecurityFilterChain configure(HttpSecurity httpSecurity) throws Except
return httpSecurity.build();

}

@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
Expand All @@ -88,7 +88,7 @@ public CorsConfigurationSource corsConfigurationSource() {

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

return source;
}
}
Expand Down

0 comments on commit 5d21ae5

Please sign in to comment.