brawer / wikidata-qrank

Ranking signals for Wikidata
https://qrank.wmcloud.org
MIT License
66 stars 5 forks source link

Set HTTP header for CORS #6

Closed fzahner closed 2 years ago

fzahner commented 2 years ago

In the webserver, pass Access-Control-Allow-Origin: * in the HTTP responses.

brawer commented 2 years ago

This is now in production.

$ curl -sI https://qrank.wmcloud.org/download/qrank-stats.json | grep access
access-control-allow-origin: *