added logging
This commit is contained in:
parent
a408e1487d
commit
2d3f1ef951
6 changed files with 9 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func FormHandler(content embed.FS, filename string) http.HandlerFunc {
|
||||
log.Print("FormHandler called")
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
tmpl, err := template.ParseFS(content, "templates/base.html", "templates/header.html", "templates/main.html", "templates/footer.html", "templates/monsterForm.html")
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue