diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 89ed3c5..5fecf1b 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -101,7 +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") + w.Header().Add("Content-Type", "text/html") data, _ := os.ReadFile(h.conf.FilelistPath) w.Write(data) }