[openstreetmap/openstreetmap-website] Transition more requests to fetch (PR #5669)

Marwin Hochfelsner notifications at github.com
Thu Feb 13 16:05:35 UTC 2025


### Description
Moves all AJAX requests that don't need OAuth to fetch. (except Matomo as this fetches a script)

### How has this been tested?
Logpoints and quite a bit of erratic map movement to check for aborts

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

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

-- Commit Summary --

  * Transition more requests to fetch

-- File Changes --

    M app/assets/javascripts/index.js (20)
    M app/assets/javascripts/index/history.js (19)
    M app/assets/javascripts/index/layers/data.js (42)
    M app/assets/javascripts/index/layers/notes.js (38)
    M app/assets/javascripts/index/query.js (29)
    M app/assets/javascripts/index/search.js (36)
    M app/assets/javascripts/leaflet.map.js (19)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/5669 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250213/2a118f8e/attachment.htm>


More information about the rails-dev mailing list