颜超 2 years ago
parent 2c9833de3c
commit cc24c27801

@ -30,7 +30,6 @@ public class WebMvcConfig extends WebMvcConfigurationSupport {
.allowedHeaders("Content-Type", "x-requested-with", "X-Custom-Header")
.allowedOriginPatterns("*")
.allowedMethods("GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS")
.allowedOrigins("*")
.allowCredentials(true)
.maxAge(3600);
}

Loading…
Cancel
Save