Google Java Format
This commit is contained in:
parent
70b00a1996
commit
9e2ab9fa5a
@ -6,7 +6,6 @@ import org.springframework.security.oauth2.jwt.*;
|
|||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class MyinpulseApplication {
|
public class MyinpulseApplication {
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user