From 877b5d40130e6006581f8837b2120751603aa9ee Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 22 Jul 2023 22:58:42 +0400 Subject: [PATCH] Playlist file renamed to playlist.m3u. --- internal/http/handlers.go | 2 +- web/assets/{radio.arav.top.m3u => playlist.m3u} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename web/assets/{radio.arav.top.m3u => playlist.m3u} (100%) diff --git a/internal/http/handlers.go b/internal/http/handlers.go index bc22c3f..a880355 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -91,7 +91,7 @@ func (h *Handlers) LastSong(w http.ResponseWriter, r *http.Request) { func (h *Handlers) Playlist(w http.ResponseWriter, _ *http.Request) { 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) } diff --git a/web/assets/radio.arav.top.m3u b/web/assets/playlist.m3u similarity index 100% rename from web/assets/radio.arav.top.m3u rename to web/assets/playlist.m3u