diff --git a/src/main/java/com/ALGo/ALGo_server/config/SecurityConfig.java b/src/main/java/com/ALGo/ALGo_server/config/SecurityConfig.java index 57d37f1..cd4af11 100644 --- a/src/main/java/com/ALGo/ALGo_server/config/SecurityConfig.java +++ b/src/main/java/com/ALGo/ALGo_server/config/SecurityConfig.java @@ -65,6 +65,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { public CorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); configuration.addAllowedOrigin("http://localhost:5173"); + configuration.addAllowedOrigin("https://alertglobal.vercel.app/"); configuration.addAllowedMethod("*"); configuration.addAllowedHeader("*"); configuration.setAllowCredentials(true);