fix static folder
All checks were successful
release-tag / release-image (push) Successful in 2m15s

This commit is contained in:
2025-08-13 22:07:20 +02:00
parent dbdee7d440
commit d47c654d72

View File

@@ -78,7 +78,7 @@ func main() {
mux := http.NewServeMux() mux := http.NewServeMux()
mux.HandleFunc("/", handleIndex) mux.HandleFunc("/", handleIndex)
mux.HandleFunc("/api/status", handleAPIStatus) mux.HandleFunc("/api/status", handleAPIStatus)
mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("/data/static")))) mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("/static"))))
log.Printf("VocalForge status dashboard listening on %s (DB=%s)", HTTP_PORT, dbDsn) log.Printf("VocalForge status dashboard listening on %s (DB=%s)", HTTP_PORT, dbDsn)