XMLHttpRequest at 'https://localhost:44323/api/Values/' from origin 'http://localhost:4200' has been blocked by CORSInvalidOperationException: Endpoint DatingApp.API.Controllers.ValuesController.GetValues (DatingApp.API) contains CO
从源'‘获取'’的访问已被CORS策略所阻止:请求标头字段x-xsrf-令牌不允许在飞行前响应中被访问控制-允许-标头。This cors configs were added to spring boot app, cors-allowed-methods: GET,POST,HEAD,PUT,DELETE,OPTIONS
cors-allowed-headers: x-x