|
|
@@ -71,7 +71,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|
|
registry.addMapping("/**")
|
|
|
.allowCredentials(true)
|
|
|
.allowedMethods("HEAD", "GET", "PUT", "POST", "DELETE", "PATCH", "OPTION")
|
|
|
- .allowedOrigins("http://10.5.23.170", "http://10.5.23.172", "http://ggfw.jxjmrh.gov.cn", "https://ggfw.jxjmrh.gov.cn")
|
|
|
+ .allowedOrigins("http://10.5.23.170", "http://10.5.23.172", "https://10.5.23.170", "https://10.5.23.172", "http://ggfw.jxjmrh.gov.cn", "https://ggfw.jxjmrh.gov.cn")
|
|
|
.exposedHeaders("Content-Disposition,Content-Encrypted");
|
|
|
}
|
|
|
|