springboot配置CORS允许跨域访问

参考: CORS(跨域资源共享) SpringBoot配置Cors解决跨域请求问题 配置CORS允许跨域访问: @Configuration public class CORSConfig { @Bean public WebMvcConfigurer corsConfigurer() { return new WebMvcConfigurerAdapter()
相关文章
相关标签/搜索