has been blocked by CORS policy: 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 the XMLHttpRequest is controlled by the withCredentials attributespa
這個錯誤是因爲同時設置了 Access-Control-Allow-Origin=* 和 Access-Control-Allow-Credentials=truerequests
解決辦法是把*改成指定域名域名