Files
Andy Dixon 31e39bdbef Management API, service binary and host probes
TLS-only HTTP API with Argon2id auth, setup token, CSRF, TOTP, login throttling,
management source allow-list; network apply via helper; capture endpoints;
SSE events; crash recovery of interrupted segments; systemd notify/watchdog.
2026-10-09 17:39:24 +01:00

17 lines
273 B
Go

// Package web embeds the built management UI (web/dist, produced by `npm run build`).
package web
import (
"embed"
"io/fs"
)
//go:embed all:dist
var dist embed.FS
// FS returns the built UI rooted at dist/.
func FS() fs.FS {
f, _ := fs.Sub(dist, "dist")
return f
}