Playlist file renamed to playlist.m3u.
This commit is contained in:
parent
46b78b4667
commit
877b5d4013
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user