womp
This commit is contained in:
parent
06967a905b
commit
21fc147f52
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ public class SecurityConfig {
|
|||
@Bean
|
||||
public CorsConfigurationSource corsConfigurationSource() {
|
||||
CorsConfiguration configuration = new CorsConfiguration();
|
||||
configuration.setAllowedOrigins(List.of("https://projekt.lona-development.org", "http://localhost:3000"));
|
||||
configuration.setAllowedOriginPatterns(List.of("https://projekt.lona-development.org", "http://localhost:3000", "https://projektbackend.lona-development.org"));
|
||||
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