Bugfix-Test-1
All checks were successful
release-tag / release-image (push) Successful in 1m57s

This commit is contained in:
2025-09-21 17:40:43 +02:00
parent 1d478f8803
commit 920da0a374
7 changed files with 18 additions and 22 deletions

View File

@@ -93,9 +93,11 @@ func main() {
http.Error(w, "upstream error", http.StatusBadGateway)
}
r.Handle("/static/*", http.StripPrefix("/static",
http.FileServer(http.FS(ui.FS)),
))
r.Handle("/static/*",
http.StripPrefix("/static",
http.FileServer(http.FS(ui.StaticFS)),
),
)
r.Handle("/hls/*", http.StripPrefix("/hls", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if strings.Contains(r.URL.Path, "..") {