1
0

Fixed MIME type to text/html.

This commit is contained in:
Alexander Andreev 2023-02-19 22:26:25 +04:00
parent 0339ce27f6
commit edfcb9526b
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -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)
}