yaobo 7 yıl önce
ebeveyn
işleme
aa5c43eca1

+ 3 - 2
src/main/java/cn/efunbox/audio/config/Config.java

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