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