跳到主要内容
CNode

Access-Control-Allow-Origin 设为 * 报错求助

问答
MMaopy发布于 9 年前最后回复 9 年前
3118080

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)

M
Maopy#39 年前

感谢解答

X
XadillaX#29 年前

cookie 的不能用星号。

X
xumjs8623#19 年前

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

参与回复

登录后即可参与回复。登录