#3 -- fix config
This commit is contained in:
parent
19875f8971
commit
c220f816a8
@ -12,7 +12,6 @@ class ControllersConfiguration {
|
||||
public CorsFilter corsFilter() {
|
||||
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
||||
CorsConfiguration config = new CorsConfiguration();
|
||||
config.setAllowCredentials(true);
|
||||
config.addAllowedOrigin("*");
|
||||
config.addAllowedHeader("*");
|
||||
config.addAllowedMethod("GET");
|
||||
|
Loading…
Reference in New Issue
Block a user