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 error when integrating with Swedish Bird Trends #1

Open
IcingInk opened this issue Nov 13, 2016 · 0 comments
Open

CORS error when integrating with Swedish Bird Trends #1

IcingInk opened this issue Nov 13, 2016 · 0 comments

Comments

@IcingInk
Copy link

The error is:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://birds.dina-web.net/species/3c42a44c-096a-445d-b574-22297e96373d.html. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘*.dina-web.net’).

The solution may be provided by reconfiguring nginx and adding headers in another way:

http://serverfault.com/questions/384105/cross-origin-resource-sharing-cors-with-nginx-chrome

now set to -> ‘Access-Control-Allow-Origin’ does not match ‘*.’
used in naturforskaren.se ( produktion )
To test this , try Corvux Corax on naturforskaren.se
https://dina-web.net/naturalist/species/3c42a44c-096a-445d-b574-22297e96373d
The third icon in the far right column should display 'Fågeltrender'

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