[openstreetmap/openstreetmap-website] Build export download links from locale keys (PR #7271)

Lee Kindness notifications at github.com
Wed Jul 29 07:56:11 UTC 2026


@wangi commented on this pull request.



>      $("#export_overpass").attr("href",
-                               `https://overpass-api.de/api/map?bbox=${sw.lng},${sw.lat},${ne.lng},${ne.lat}`);
+                               `${$("#export_overpass").data("baseUrl")}?bbox=${sw.lng},${sw.lat},${ne.lng},${ne.lat}`);

I'll make this change, and also remove the output of `base_url` in `export.html.erb` later on.

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

Message ID: <openstreetmap/openstreetmap-website/pull/7271/review/4805429146 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260729/17740d08/attachment.htm>


More information about the rails-dev mailing list