跨域配置重复 header contains multiple values
Access to XMLHttpRequest at 'https://dev2.xxxxxx/stp/home/instruction' from origin 'https://test1.xxxxxx' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values 'https://test1.xxxxxx, *', but only one is allowed.
去除一个跨域配置。
跨越配置可以在前端、后端和nginx三个地方。
时来天地皆同力,运去英雄不自由