Google Java Format

This commit is contained in:
github-actions 2025-02-11 18:27:36 +00:00
parent 70b00a1996
commit 9e2ab9fa5a
2 changed files with 1 additions and 2 deletions

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);