Skip to content
New issue

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

CORS Blocked #309

Open
codingbuddy995 opened this issue Jan 8, 2024 · 0 comments
Open

CORS Blocked #309

codingbuddy995 opened this issue Jan 8, 2024 · 0 comments

Comments

@codingbuddy995
Copy link

in my wordpress site i am trying to access the current time using geotimezone api but i am facing this error in console:

Access to fetch at 'https://api.geotimezone.com/public/timezone?latitude=30.05&longitude=31.25' from origin 'https://prayerintime.com' 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.

can any one give me the solution to this? i would be very thankful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant