diff --git a/internal/http/handlers.go b/internal/http/handlers.go index ce5e512..89ed3c5 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -101,6 +101,7 @@ func (h *Handlers) Playlist(w http.ResponseWriter, _ *http.Request) { } func (h *Handlers) Filelist(w http.ResponseWriter, _ *http.Request) { + w.Header().Add("Content-Type", "plain/html") data, _ := os.ReadFile(h.conf.FilelistPath) w.Write(data) }