Access-Control-Allow-Origin 设为 * 报错求助
发布于 7 年前 作者 Maopy 11157 次浏览 来自 问答

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 回复

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

cookie 的不能用星号。

感谢解答

回到顶部