spreadlab/internal/webdist
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
..
dist serve the embedded frontend alongside the API, slice 1 of M4 2026-06-11 14:02:38 +02:00
webdist.go serve the embedded frontend alongside the API, slice 1 of M4 2026-06-11 14:02:38 +02:00