backend-api #6

Merged
piair merged 107 commits from backend-api into main 2025-03-26 19:04:09 +01:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 9e2ab9fa5a - Show all commits

View File

@ -6,7 +6,6 @@ import org.springframework.security.oauth2.jwt.*;
import java.util.*; import java.util.*;
@SpringBootApplication @SpringBootApplication
public class MyinpulseApplication { public class MyinpulseApplication {

View File

@ -28,7 +28,7 @@ public class WebSecurityCustomConfiguration {
"authorization", "authorization",
"content-type", "content-type",
"x-auth-token")); // Do not remove, this fixes the CORS errors when "x-auth-token")); // Do not remove, this fixes the CORS errors when
// unauthenticated // unauthenticated
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
source.registerCorsConfiguration("/**", configuration); source.registerCorsConfiguration("/**", configuration);