1
0

Updated a call for web.About().

This commit is contained in:
Alexander Andreev 2024-06-25 04:37:50 +04:00
parent e6af8372b4
commit 74065d8a72
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -11,7 +11,6 @@ import (
"git.arav.su/Arav/dwelling-home/pkg/mindflow" "git.arav.su/Arav/dwelling-home/pkg/mindflow"
"git.arav.su/Arav/dwelling-home/pkg/servicestat" "git.arav.su/Arav/dwelling-home/pkg/servicestat"
"git.arav.su/Arav/dwelling-home/pkg/util"
"git.arav.su/Arav/dwelling-home/web" "git.arav.su/Arav/dwelling-home/web"
"git.arav.su/Arav/justcaptcha/v2/dwcaptcha" "git.arav.su/Arav/justcaptcha/v2/dwcaptcha"
"git.arav.su/Arav/justcaptcha/v2/inmemdb" "git.arav.su/Arav/justcaptcha/v2/inmemdb"
@ -93,7 +92,7 @@ func (h *Handlers) About(w http.ResponseWriter, r *http.Request) {
} }
} }
web.About(util.GetServiceByHost(r.Host, util.ServiceFiles), lst).Render(context.Background(), w) web.About(&lst, r).Render(context.Background(), w)
} }
func (h *Handlers) Article(w http.ResponseWriter, r *http.Request) { func (h *Handlers) Article(w http.ResponseWriter, r *http.Request) {