-
Notifications
You must be signed in to change notification settings - Fork 22
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 error for OLS api #861
Comments
@oeway thanks for reporting this... we are always adding CORS headers to our calls so it weird that this error is coming. We don't have any restriction on ORIGIN either...
I'll need to investigate this further on my end and for now my hunch is because of the redirection happening from With endpoint for ols4 we have origin headers:
But for ols endpoint they don't
The quickest solution for you atm I would suggest is to use |
We are using the ols api to find tags for annotation our datasets at https://shareloc.xyz
It was working perfectly before, but recently, the it give us the CORS error:
To reproduce, you can run the following js in any of the website, including localhost:
The text was updated successfully, but these errors were encountered: