Skip to content

Commit b46d2b6

Browse files
authored
Chore: cors 도메인 추가
1 parent 842e492 commit b46d2b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/umc/tosee/global/config/WebConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
4343
public CorsConfigurationSource corsConfigurationSource() {
4444
CorsConfiguration config = new CorsConfiguration();
4545
config.setAllowCredentials(true);
46-
config.setAllowedOrigins(List.of("http://localhost:5173"));
46+
config.setAllowedOrigins(List.of("http://localhost:5173", "https://umc.gyeonseo.com","http://localhost:8080"));
4747
config.setAllowedMethods(List.of("GET","POST","PUT","PATCH","DELETE","OPTIONS"));
4848
config.setAllowedHeaders(List.of("*"));
4949
config.setExposedHeaders(List.of("Authorization", "Set-Cookie"));

0 commit comments

Comments
 (0)