보안 검토

This commit is contained in:
2026-02-03 00:15:27 +09:00
parent e54c219b76
commit a92d31e371

View File

@@ -22,6 +22,7 @@ public class SecurityConfig {
configuration.setAllowedOrigins(List.of("http://localhost:3000"));
configuration.setAllowedMethods(List.of("GET","POST", "PUT","DELETE","OPTION"));
configuration.setAllowedHeaders(List.of("*"));
configuration.setAllowCredentials(true);
return configuration;
};
cors.configurationSource(configurationSource);