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 #3

Closed
mskyttner opened this issue Nov 11, 2016 · 2 comments
Closed

CORS error when integrating with Swedish Bird Trends #3

mskyttner opened this issue Nov 11, 2016 · 2 comments

Comments

@mskyttner
Copy link
Contributor

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

@Inkimar
Copy link
Contributor

Inkimar commented Nov 11, 2016

open to '*'
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'

@Inkimar Inkimar closed this as completed Nov 13, 2016
@Inkimar
Copy link
Contributor

Inkimar commented Nov 13, 2016

moved to mskyttner/swedishbirdtrends#1

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

2 participants