We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have created an application with this origin http://localhost:5173 but despite that I keep getting this error
Access to fetch at 'https://api.astronomyapi.com/api/v2/bodies/events/Sun?latitude=22.57620861111111&longitude=88.35759838888889&elevation=15&from_date=2024-06-18&to_date=2024-07-18&time=17:19:12' 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.
Please help.
The text was updated successfully, but these errors were encountered:
Could you please put a code sample so I can check?
Sorry, something went wrong.
No branches or pull requests
I have created an application with this origin http://localhost:5173 but despite that I keep getting this error
Access to fetch at 'https://api.astronomyapi.com/api/v2/bodies/events/Sun?latitude=22.57620861111111&longitude=88.35759838888889&elevation=15&from_date=2024-06-18&to_date=2024-07-18&time=17:19:12' 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.
Please help.
The text was updated successfully, but these errors were encountered: