fix(locations): add referrerPolicy to OSM tile layers

Add referrerPolicy: 'origin' to the Leaflet tile layer in
geolocation_list.html and geolocation_detail.html to match the
other four templates that already had it.

Without this, those templates send the full page URL as Referer,
which can trigger OSM rate limiting (osm.wiki/blocked error).

Also marks the task as DONE in PROJECT.org.
This commit is contained in:
2026-07-20 23:53:12 -04:00
parent d53a9a9d33
commit 0e3b3cc68d
3 changed files with 15 additions and 9 deletions

View File

@ -185,7 +185,7 @@ events).
- Timestamp picker (default to now)
- Optional: barcode scanning for food/drinks via CameraX
* Backlog [1/26] :vrobbler:project:personal:
* Backlog [2/27] :vrobbler:project:personal:
** TODO [#C] After transition to linux add curl_cffi as webpage scrapper again :webpages:metadata:
** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles:
:PROPERTIES:
@ -714,6 +714,10 @@ at /api/docs/.
- Verify schema generates cleanly for all ViewSets
- Fix any serializer issues that block schema generation
** DONE [#A] Fix referer bug in OSM tiles :bug:osm:templates:
:PROPERTIES:
:ID: dcfbe119-d761-b0a4-fb03-6ce920fda6bf
:END:
** DONE [#A] Fix bugs in lifeevent urls :bug:urls:
:PROPERTIES:
:ID: ac6c0102-4de7-b6e4-65de-8231752d9a31