|
@@ -58,8 +58,8 @@ public class Config extends WebMvcConfigurerAdapter{
|
|
registry.addMapping("/**")
|
|
registry.addMapping("/**")
|
|
.allowedOrigins("*")
|
|
.allowedOrigins("*")
|
|
.allowCredentials(true)
|
|
.allowCredentials(true)
|
|
-// .allowedMethods("GET", "POST", "DELETE", "PUT", "OPTIONS")
|
|
|
|
- .allowedMethods("*")
|
|
|
|
|
|
+ .allowedMethods("GET", "POST", "DELETE", "PUT", "OPTIONS")
|
|
|
|
+// .allowedMethods("*")
|
|
// .allowedHeaders("*")
|
|
// .allowedHeaders("*")
|
|
.maxAge(3600);
|
|
.maxAge(3600);
|
|
}
|
|
}
|