버그 수정

This commit is contained in:
2025-10-04 03:35:52 +09:00
parent fa63330e69
commit bb98b0d721
10 changed files with 64 additions and 23 deletions

View File

@@ -58,7 +58,7 @@ public class SecurityConfig {
CorsConfiguration config = new CorsConfiguration();
String origin = request.getHeader("Origin");
config.setAllowCredentials(true);
config.setAllowedOrigins(Arrays.asList("http://kisp.kospo.co.kr:8010", "http://localhost:8010"));
config.setAllowedOrigins(Arrays.asList("http://kisp.kospo.co.kr:8010", "http://localhost:8010", "http://talk.kospo.co.kr:3000"));
config.setAllowedMethods(Arrays.asList("POST","GET","DELETE","PUT","OPTIONS"));
config.setAllowedHeaders(Arrays.asList("*"));
return config;