initial commit
Format / gofmt (push) Failing after 27s
CI / Build (push) Successful in 51s
CI / Go Tests (push) Failing after 21s

This commit is contained in:
2026-06-06 07:54:44 -05:00
commit 1cc94f2c99
68 changed files with 14615 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package ui
import "embed"
// Dist contains the built Svelte SPA assets (index.html + js/css/...).
// Built by `make ui-build` (npm run build in ui/) and embedded at compile time.
// Served by the Go binary for the admin UI on :81.
//
// Note: SvelteKit outputs assets under dist/_app/... (leading underscore).
// Go's //go:embed skips dirs/files starting with _ by default in patterns,
// so we explicitly list dist/_app to ensure the client JS/CSS are embedded.
// See https://pkg.go.dev/embed and SvelteKit adapter-static output.
//
//go:embed dist dist/_app
var Dist embed.FS