Replace hardcoded Overpass URLs with `overpass_url` setting.

### Description
Replace hardcoded `https://overpass-api.de/api/map` URLs in the export view and 
JS with values derived from the configurable `overpass_url` setting. The 
setting URL includes the `/api/interpreter` portion, which is replaced with 
`/api/map`.

Claude Code was used for this change.

### How has this been tested?
- Rubocop & tests:all pass
- Open the export page and select a large area to trigger the "too large" 
warning
- Verify the Overpass API link points to the configured `overpass_url` host 
(with `/map` instead of `/interpreter`) rather than `overpass-api.de`

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use overpass_url setting instead of hardcoded overpass-api.de in export

-- File Changes --

    M app/assets/javascripts/index_modules/export.js (2)
    M app/views/site/export.html.erb (2)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to