CNode

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

问答
MMaopy发布于9 年前最后回复9 年前3 回复11780 浏览0 收藏

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)

X
xumjs8623#1·9 年前

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

X
XadillaX#2·9 年前

cookie 的不能用星号。

M
Maopy#3·9 年前

感谢解答

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