diff --git a/internal/http/web_handlers.go b/internal/http/web_handlers.go index ef74357..1ad7cdd 100644 --- a/internal/http/web_handlers.go +++ b/internal/http/web_handlers.go @@ -11,7 +11,6 @@ import ( "git.arav.su/Arav/dwelling-home/pkg/mindflow" "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/justcaptcha/v2/dwcaptcha" "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) {