Skip to content

Promote to production: transformRequest OFM proxy fix - #179

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 8, 2026
Merged

Promote to production: transformRequest OFM proxy fix#179
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Deploys PR #178 — adds transformRequest to proxy all OpenFreeMap URLs through /ofm/, fixing blank vector tiles for SE Asia users.

🤖 Generated with Claude Code

Kresna and others added 2 commits August 8, 2026 14:58
fetchResolvedStyle rewrites URLs in the style object but MapLibre still
makes its own fetches for TileJSON (when url is present on a vector
source), glyphs, and sprites — bypassing the proxy and hitting the
broken Singapore CDN edge directly.

transformRequest intercepts EVERY URL MapLibre dispatches (including
from tile Web Workers) and rewrites tiles.openfreemap.org/* to
goodwebtools.com/ofm/*, ensuring all OFM traffic goes through our
Cloudflare Worker regardless of what the style object contains.

This is the definitive safety net for the blank map bug.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(maps): transformRequest proxies ALL OFM requests through /ofm/
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
goodwebtools 342f733 Aug 08 2026, 08:08 AM

@slaveofcode
slaveofcode merged commit e926b40 into main Aug 8, 2026
2 of 3 checks passed
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