1
0

Updated web.Index() call in a handler.

This commit is contained in:
Alexander Andreev 2023-03-13 02:12:02 +04:00
parent 184561ab29
commit 95e9d97a22
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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) { func (h *Handlers) Status(w http.ResponseWriter, r *http.Request) {