spreadlab/internal
Justin Visser 3684488d75 serve the embedded frontend alongside the API, slice 1 of M4
//go:embed needs internal/webdist/dist to exist at compile time, so a
one-line placeholder index.html is committed there and the real build
(Docker, or a manual copy of web/dist) overwrites it. One mux serves
/, /api, and a /healthz for the compose healthcheck to come.
2026-06-11 14:02:38 +02:00
..
api api: keep the error contract JSON even on encoder failure 2026-06-10 16:22:35 +02:00
engine api: POST /api/scenario returns result plus graph topology (M3 slice 1) 2026-06-10 15:48:48 +02:00
webdist serve the embedded frontend alongside the API, slice 1 of M4 2026-06-11 14:02:38 +02:00