fix: hls demo page

This commit is contained in:
langhuihui
2025-06-17 11:26:11 +08:00
parent 5bf5e7bb20
commit 29c47a8d08

View File

@@ -295,7 +295,7 @@ func (config *HLSPlugin) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
}
} else {
http.ServeFileFS(w, r, zipReader, strings.TrimPrefix(r.URL.Path, "/hls.js"))
http.ServeFileFS(w, r, zipReader, r.URL.Path)
}
}