×

Notice

The forum is in read only mode.

CORS ‘access-control-allow-origin’ header

6 months 4 weeks 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.
6 months 3 weeks 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