[openstreetmap/openstreetmap-website] Correct MIME type of exported directions GeoJSON (PR #6519)

Minh Nguyễn notifications at github.com
Tue Nov 11 01:35:27 UTC 2025


When exporting directions as GeoJSON, create the file using a .geojson file extension based on the more specific MIME type for GeoJSON.

Fixes #6388.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6519

-- Commit Summary --

  * Corrected MIME type of exported directions GeoJSON

-- File Changes --

    M app/assets/javascripts/index/directions-route-output.js (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6519.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6519.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6519
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6519 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251110/621c01ee/attachment.htm>


More information about the rails-dev mailing list