后端代码配置了跨域,前端仍然提示跨域失败

a56爆大奖在线娱乐在go项目中配置了cors中间件,但是前端请求人提示跨域问题,描述如下: The 'Access-Control-Allow-Origin' header contains multiple values 'http://xxxxxx, *', but only one is allowed. 这
posted @ 2023-09-06 17:41  coder_xds  阅读(292)  评论(0编辑  收藏  举报