diff --git a/internal/http/handlers.go b/internal/http/handlers.go index f64f4e7..32f9eec 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), status, &songs, w) + web.Index(utils.MainSite(r.Host), h.conf.ListLastNSongs, status, &songs, w) } func (h *Handlers) Status(w http.ResponseWriter, r *http.Request) {