fix(webui): blank page regression; execute named templates (dashboard.tmpl, summarizer.tmpl) in render()
This commit is contained in:
parent
b993482b85
commit
3ed38031be
2 changed files with 2 additions and 2 deletions
|
|
@ -43,5 +43,5 @@ func (s *Server) render(w http.ResponseWriter, name string, data map[string]any)
|
|||
data["Title"] = strings.Title(base)
|
||||
}
|
||||
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||
_ = tpl.ExecuteTemplate(w, base, data)
|
||||
_ = tpl.ExecuteTemplate(w, name, data)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue