This commit is contained in:
Hymmel 2026-01-21 10:18:38 +01:00
parent 8388a1ca72
commit 5580ad1816

View file

@ -48,7 +48,7 @@ public class SecurityConfig {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(List.of("http://projekt.lona-development.org", "http://localhost:3000"));
configuration.setAllowedOrigins(List.of("https://projekt.lona-development.org", "http://localhost:3000"));
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(List.of("*"));
configuration.setAllowCredentials(true);