This commit is contained in:
yuhalog
2025-06-18 17:34:48 +09:00
parent 714b444c3e
commit 9434de944c
10 changed files with 401 additions and 7 deletions
@@ -76,7 +76,7 @@ public class SecurityConfig {
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(Arrays.asList("*"));
configuration.setAllowCredentials(true);
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
source.registerCorsConfiguration("/**", configuration);
return source;