Skip to content

Commit ee53b32

Browse files
committed
feat: CORS 도메인 주소 추가
1 parent f1e3ac9 commit ee53b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/semosan/api/common/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
7373
@Bean
7474
public CorsConfigurationSource corsConfigurationSource() {
7575
CorsConfiguration config = new CorsConfiguration();
76-
config.setAllowedOrigins(List.of("http://localhost:3000"));
76+
config.setAllowedOrigins(List.of("http://localhost:3000", "https://lgenius.site"));
7777
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH"));
7878
config.setAllowedHeaders(List.of("*"));
7979
config.setAllowCredentials(true);

0 commit comments

Comments
 (0)