django 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'.
查看cors中间件的源码如下
将settings修改为这样就好啦
django 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'.
查看cors中间件的源码如下
将settings修改为这样就好啦