Skip to content

Allow OpenFreeMap tiles in the CSP; refresh preconnects - #274

Merged
yorickdewid merged 1 commit into
mainfrom
fix/csp-openfreemap
Jul 25, 2026
Merged

Allow OpenFreeMap tiles in the CSP; refresh preconnects#274
yorickdewid merged 1 commit into
mainfrom
fix/csp-openfreemap

Conversation

@yorickdewid

Copy link
Copy Markdown
Contributor

Follow-up to #273: connect-src never allowed tiles.openfreemap.org, so the swapped basemap rendered blank (our boundaries/fonts passed via the *.fundermaps.com / *.digitaloceanspaces.com wildcards). Mapbox domains and preconnects removed; preconnects now warm the three tile/asset hosts actually used.

🤖 Generated with Claude Code

The MapLibre swap moved base tiles to tiles.openfreemap.org, which the
connect-src whitelist didn't cover - the basemap loaded as a blank
canvas while our own sources (matching *.fundermaps.com and
*.digitaloceanspaces.com) kept working. Mapbox domains drop out.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@yorickdewid
yorickdewid merged commit 9e0e110 into main Jul 25, 2026
4 checks passed
@yorickdewid
yorickdewid deleted the fix/csp-openfreemap branch July 25, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant