fix : 홈페이지 교체로 인한 수정
SpecialSource Backend CI/CD / build-and-deploy (push) Successful in 54s

This commit is contained in:
headporter committed 2026-11-26 13:28:49 +09:00
1 parent 569346ef31
commit 27d89f35a2
3 files changed
+12 -4

No files matched your search

@@ -44,7 +44,7 @@ public class SecurityConfig {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();
config.setAllowedOriginPatterns(List.of("http://localhost:*", "https://new.specialsource.company"));
config.setAllowedOriginPatterns(List.of("http://localhost:*", "https://specialsource.company", "https://www.specialsource.company", "https://new.specialsource.company"));
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
config.setAllowedHeaders(List.of("*"));
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();