a
This commit is contained in:
parent
8388a1ca72
commit
5580ad1816
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue