doxa-maps/public
doxa-maps-88655c70 d4ab3a8e09
Some checks are pending
build-gate / build (push) Waiting to run
Anchor the gallery's assets to the tree, not to the page directory
The archived gallery resolved ASSETS as BASE + 'assets' — this PAGE's own
directory. That was correct only while the gallery WAS the root page, where the
two coincide. Since it moved to /__gallery it asked for /__gallery/assets/...
Measured on the built tree with the page at /__gallery/:

    /__gallery/assets/vendor/vue/vue.global.prod.js ... 404
    /doxa-maps/assets/vendor/vue/vue.global.prod.js ... 200

Every leaf page already agrees where assets live: a leaf at
/<tree>/<bundle>/<profile>/ bakes assetsBase "../../assets" -> /<tree>/assets.
So anchor to the tree root, which TREE_URL already names.

This degraded QUIETLY rather than blanking, which is why it outlived the move:
loadVue() falls back to the jsDelivr CDN, so the page kept working while
silently losing the portable / offline / no-CDN property the vendored copy
exists to provide. After the fix the built page loads Vue from
/doxa-maps/assets/vendor/vue/ and reports zero 4xx/5xx.

TREE_URL moves above ASSETS because ASSETS now depends on it; both are `var`,
so the old order would have yielded the string "undefined/assets" rather than
an error. Its explanatory comment moves with the declaration.

The dev server passes assetsBaseUrl explicitly, so this is the built-tree half
of the fix its comment already documents for dev.
2026-09-22 22:03:58 +00:00
..
__gallery Anchor the gallery's assets to the tree, not to the page directory 2026-09-22 22:03:58 +00:00
assets Vendor Vue for the gallery shell, so the self-hosted rung finally exists 2026-09-22 04:59:30 +00:00
doxa-maps Rebuild so a fresh clone carries the tree-expand fix 2026-09-22 16:48:49 +00:00
.build.lock Rebuild so a fresh clone carries the tree-expand fix 2026-09-22 16:48:49 +00:00
.gitignore doxa-maps — portable bundler for embeddable JAMstack maps 2026-09-10 01:53:07 +00:00
index.html Land the swarm's work: no iframes anywhere, a tree that keeps its shape, deeper facets 2026-09-22 14:51:52 +00:00