Access-Control-Allow-Origin 设为 * 报错求助
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吧? 这样子好像是不能设置为*的,一定要指定一个域名的,我是这样写的
带 cookie
的不能用星号。
感谢解答