Skip to content

Promote to production: absolute OFM proxy URLs - #175

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

Promote to production: absolute OFM proxy URLs#175
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Deploys PR #174 — fixes relative /ofm/ URLs that caused sprite validation error and silent tile failures in MapLibre Web Workers.

🤖 Generated with Claude Code

Kresna and others added 2 commits August 8, 2026 14:05
MapLibre rejects relative sprite/glyph URLs with a validation error.
Web Workers also resolve relative tile URLs against their blob URL
(not the page origin), causing silent tile fetch failures.

Move the ofm() rewriter inside fetchResolvedStyle so location.origin
is available, and produce fully absolute proxy URLs:
  https://tiles.openfreemap.org/... → https://goodwebtools.com/ofm/...

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(maps): use absolute URLs for OFM proxy
@slaveofcode
slaveofcode merged commit 4af6471 into main Aug 8, 2026
2 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