[openstreetmap/openstreetmap-website] Map API requests with Bearer token (PR #6373)
mmd
notifications at github.com
Mon Sep 1 19:17:19 UTC 2025
In this PR, we're adding a Bearer token for Map API requests, if available.
Benefits:
- Users behind a shared IP address are less likely to hit rate limiting.
- Higher rate limits for moderators are taken into account.
Tested with anonymous / known user for "Map Data" and single object map display. Map requests were served by a cgimap backend.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6373
-- Commit Summary --
* Map API requests with Bearer token
-- File Changes --
M app/assets/javascripts/index/layers/data.js (1)
M app/assets/javascripts/leaflet.map.js (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6373.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6373.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6373
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6373 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250901/e4ee9bf7/attachment.htm>
More information about the rails-dev
mailing list