Getting Cors WildCard error Even though I am not using it
I’m developing a react web app using axios and the back and using nodejs.
However, when trying to access the API I get the following error:
has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: 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 attribute.