[openstreetmap/openstreetmap-website] Add CORS header to trace/XX/data API ? (#2407)

NoƩmie notifications at github.com
Sun Oct 20 14:07:38 UTC 2019


For now, it is not possible to download a trace from osm.org inside a js application : calling `https://www.openstreetmap.org/trace/<trace_id>/data` in the browser won't succeed because CORS header 'Access-Control-Allow-Origin' is missing.

Is there a reason to forbid that ? The endpoint is already public and works even without authentication.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2407
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191020/690d3af9/attachment.html>


More information about the rails-dev mailing list