From 713481b3305548db192ac6ecf98b4b5b74df3e60 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Mon, 28 Sep 2026 16:50:59 +0000 Subject: [PATCH 01/12] A relative share link works when you click it, which is why nobody caught it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DRV1650-SR-EMBED-URL-RUNTIME-ORIGIN. The Driver copied `research-map-plus-grid/research-map-plus-grid/index.html` from a page at http://127.0.0.1:5192/ — "the perfect example of how embeddability is not working". resolveShareUrl's tier 1 returns its input VERBATIM, correctly: a host handing over a whole url has already decided. So a composite that BUILDS a tier-1 url takes on tier 2's job, and both of mine wrote the same thing: base ? base + '/' + leaf : leaf On any host where the tree root cannot be derived from the script url — a dev server, an ESM build, a tree served from a path that does not match `/.js` — base is '' and the else branch hands tier 1 a bare relative path, which it then returns unresolved. ★ IT LOOKS RIGHT IN THE ONE PLACE ANYONE CHECKS. A relative share link WORKS WHEN CLICKED, because the browser resolves it against the page you copied it from. It is the EMBED that breaks — an