diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 500cd0f..09ba47b 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -51,7 +51,7 @@ func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) { } } - web.Index(utils.MainSite(r.Host), h.conf.ListLastNSongs, status, &songs, w) + web.Index(utils.MainSite(r.Host), h.conf.ListLastNSongs, status, &songs, r, w) } func (h *Handlers) Status(w http.ResponseWriter, r *http.Request) {