×

Notice

The forum is in read only mode.

CORS ‘access-control-allow-origin’ header

8 months 3 days ago #2721 by srcejon
Hi,

I'm trying to download aircraft data from: , webbrowser CORS policy blocks the download as it is from a different web site, that doesn't specify the access-control-allow-origin header. Would it be possible to configure the web server so that it sets this header?

For nginx, it would be something like: 
add_header 'Access-Control-Allow-Origin' '*';

Probably useful for the REST API too. Thanks.
8 months 1 day ago #2722 by strohmeier
Sorry, the forum is getting too much spam. You'll need to post the links differently as a new user.

Generally though, CORS policy is also set this way for a reason.
Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!