org.springframework.web.cors.CorsConfiguration#setAllowedOriginPatterns 在对比allowedOrigins仅支持“*”和不能与使用allowCredentials 其次主要认为跨域这个问题应该交由反向代理或者放置SpringBoot Static 目录中, 通过Static Server 方式, 或者 Nginx 反向代理 至于开发环境应该交由 webpack Proxy 解决
org.springframework.web.cors.CorsConfiguration#setAllowedOriginPatterns 在对比allowedOrigins仅支持“*”和不能与使用allowCredentials 其次主要认为跨域这个问题应该交由反向代理或者放置SpringBoot Static 目录中, 通过Static Server 方式, 或者 Nginx 反向代理 至于开发环境应该交由 webpack Proxy 解决