Closed SeniorEng closed 1 year ago
You'll have to setup a cors proxy for that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Could you give detailed instructions on how to configure this proxy in your package?
Question
Access to XMLHttpRequest at 'https://google.com/search?q=ewwefwe&ie=UTF-8&aomd=1&start=0&hl=en' from origin 'http://localhost:3000' 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.
I am trying to use this GoogleThis API in React App. Here is my codebase.
But currently I am getting a CORS issue, and I am not sure how to resolve this issue.
Could you please help me to solve this problem?
Thank you
Other details
No response
Checklist