bugfix
Some checks failed
release-tag / release-image (push) Failing after 56s
build-binaries / build (, amd64, linux) (push) Has been skipped
build-binaries / build (, arm, 7, linux) (push) Has been skipped
build-binaries / build (, arm64, linux) (push) Has been skipped
build-binaries / build (.exe, amd64, windows) (push) Has been skipped
build-binaries / release (push) Has been skipped

This commit is contained in:
2025-09-07 12:21:37 +02:00
parent 98c69dfc7d
commit a324d24b72
2 changed files with 7 additions and 48 deletions

View File

@@ -413,7 +413,7 @@ func makeID() string {
// ---- Router ----
//go:embed web/**
//go:embed \/web/**
var embedded embed.FS
func (s *Server) routes() http.Handler {
@@ -480,7 +480,7 @@ func (s *Server) routes() http.Handler {
mux.HandleFunc("/status", s.handleStatus)
// Static UI
sub, _ := fs.Sub(embedded, "/web")
sub, _ := fs.Sub(embedded, "web")
mux.Handle("/", http.FileServer(http.FS(sub)))
return mux