4

I've been trying to find a solution to the CORS error I currently have in my app, It's a VueJS project with no backend. I'm aware of the cors-anywhere proxy, but I can't use it because it changes the locality of the API, I've also tried using a vercel.json file but I still get the error: Access to XMLHttpRequest at 'https://api.deezer.com/infos' from origin 'https://syren-test.vercel.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How do I fix it please

dayo
  • 77
  • 1
  • 5

0 Answers0