1
0

Playlist file renamed to playlist.m3u.

This commit is contained in:
Alexander Andreev 2023-07-22 22:58:42 +04:00
parent 46b78b4667
commit 877b5d4013
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func (h *Handlers) LastSong(w http.ResponseWriter, r *http.Request) {
func (h *Handlers) Playlist(w http.ResponseWriter, _ *http.Request) { func (h *Handlers) Playlist(w http.ResponseWriter, _ *http.Request) {
w.Header().Add("Content-Disposition", "attachment; filename=\"radio.arav.su.m3u\"") w.Header().Add("Content-Disposition", "attachment; filename=\"radio.arav.su.m3u\"")
fc, _ := web.AssetsGetFile("radio.arav.su.m3u") fc, _ := web.AssetsGetFile("playlist.m3u")
w.Write(fc) w.Write(fc)
} }