9c496419fd758bc580ff8a6eb683d8395c1ba687
The previous rewrite produced relative `/api/basemap-tile/…` URLs in the resolved style. MapLibre loads vector tiles + sprites + glyphs inside a Web Worker, where relative URLs have no base context and fetch() rejects them with "Failed to construct 'Request': Failed to parse URL". Browser console filled with one such error per tile request → empty cream map all over again. Fix: prepend the request origin (honoring Traefik's x-forwarded-proto / x-forwarded-host) so every rewritten URL is absolute. Same behaviour from the main thread; Web Worker fetch also works because it now has a parseable URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
Shell
0.4%
PLpgSQL
0.4%
Dockerfile
0.2%
CSS
0.1%
Other
0.1%