Updated a call for web.About().
This commit is contained in:
parent
e6af8372b4
commit
74065d8a72
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user