Access to XMLHttpRequest at 'https://api.twitter.com/1.1/guest/activate.json' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. #361
Getting these error when tries to implement the api in Vite React app:![image](https://github.com/Rishikant181/Rettiwt-API/assets/65181897/6064a384-5a6a-444e-81b9-2b6a4a63c48e)
The code: