跨域问题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'. The credentials mode of requests initiated by t

withCredentials property

Speaking of the above, CORS request not to send default HTTP Cookie and authentication information. If you want Cookie to the server, the server agree on the one hand, specify the Access-Control-Allow-Credentials field.

 

This error message is likely to set you up withCredentials = true at the front appear; you can get rid of this set can also refer to the following two blog

https://juejin.im/post/5c2490ba6fb9a049ff4e2eca

https://blog.csdn.net/nlldwbiqjs/article/details/82887180

 

Guess you like

Origin www.cnblogs.com/chen55555/p/11584785.html