From 9eaabdae9a5b35d1e59c2b011ec27c8fea80793f Mon Sep 17 00:00:00 2001 From: Domenico Testa Date: Wed, 6 May 2026 11:45:36 +0200 Subject: [PATCH] fix: drop authentication for EPG endpoint, as XMLTV clients auto-fetch url-tvg without creds --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5f4536b..9b7c937 100644 --- a/main.go +++ b/main.go @@ -72,7 +72,7 @@ func main() { mux := http.NewServeMux() mux.HandleFunc("/healthz", healthz(refresher)) mux.HandleFunc("/playlist", basicAuth(cfg, servePlaylist(cfg, refresher))) - mux.HandleFunc("/epg", basicAuth(cfg, serveEPG(cfg, refresher))) + mux.HandleFunc("/epg", serveEPG(cfg, refresher)) // unauthenticated — XMLTV clients auto-fetch url-tvg without creds mux.HandleFunc("/", basicAuth(cfg, servePlaylist(cfg, refresher))) // alias srv := &http.Server{Addr: cfg.ListenAddr, Handler: mux}