doxa-maps/internal/plugin-gallery
doxa-maps-88655c70 371119a3f8
Some checks are pending
build-gate / build (push) Waiting to run
Bake the API base into the dev pages so dashboards are not silently empty
The built leaf pages set window.MAP_APP_API_URL; the dev pages set only the Mapbox
token. Every dashboard in dev therefore fell back to a relative /api/people-groups/list,
which Vite answers with SPA-fallback HTML at HTTP 200 — so the fetch "succeeds", the
parse yields nothing, and the facet rail renders zero rows with no console error and no
error card. One studio sweep produced eight such requests. It reads as a broken
component and is really a missing global.

Both dev routes now read the value from the same build config the built leaves use, so
the two surfaces agree by construction rather than through a second hard-coded copy, and
each route resolves the token and the API base from a single config read so they cannot
disagree about their source. Measured after: the research dashboard renders 66 facet
rows and 216 table cells with zero 4xx.
2026-09-22 14:43:24 +00:00
..
dev-plugin.mjs Bake the API base into the dev pages so dashboards are not silently empty 2026-09-22 14:43:24 +00:00
discover.mjs consolidate docs into documentation/ and deployment shells into deployment/ 2026-09-21 23:23:23 +00:00