Access-Control-Allow-Origin 设为 * 报错求助
 发布于 8 年前  作者 Maopy  11687 次预览  最后一次回复是 8 年前  来自 问答 

The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. Origin ‘xxx’ is therefore not allowed access

3 回复
xumjs8623

你这是带了cookie吧? 这样子好像是不能设置为*的,一定要指定一个域名的,我是这样写的untitled1.png

XadillaX

cookie 的不能用星号。