spreadlab/internal/webdist/dist/index.html
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

4 lines
284 B
HTML

<!doctype html>
<meta charset="utf-8" />
<title>spreadlab</title>
<p>Placeholder page: this binary was built without the frontend. Run <code>npm run build</code> in <code>web/</code> and copy <code>web/dist</code> over <code>internal/webdist/dist</code>, or use the Docker image.</p>