DEV Community

Abdur Razzak
Abdur Razzak

Posted on

cors policy

how can i fixed this error => ?
Access to fetch at 'https://coffee-store-server-8i9rrcazz-abdur-razzaks-projects.vercel.app/coffee' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Top comments (0)