diff --git a/fe/http.go b/fe/http.go index cc72036dfa46b79d444dbe3731a23c4e916257ba..6fef2209001060b321c098c7a0f68379f4bf93ad 100644 --- a/fe/http.go +++ b/fe/http.go @@ -76,6 +76,8 @@ func (h *HttpRedirector) serveRelay(w http.ResponseWriter, r *http.Request) { m3u := fmt.Sprintf("http://%s%s\n", relayAddr, mount.Name) w.Header().Set("Content-Length", strconv.Itoa(len(m3u))) w.Header().Set("Content-Type", "audio/x-mpegurl") + w.Header().Set("Expires", "-1") + w.Header().Set("Cache-Control", "private, max-age=0") io.WriteString(w, m3u) }