frontend: fix bugs according to monsterTable
This commit is contained in:
parent
b82e138c4d
commit
309ade3e72
4 changed files with 13 additions and 8 deletions
2
main.go
2
main.go
|
|
@ -28,7 +28,7 @@ func main() {
|
|||
http.HandleFunc("/submit", handlers.SubmitHandler(content, &chars, &Monsters, filename))
|
||||
http.Handle("/images/", http.StripPrefix("/images/", http.FileServer(http.FS(content))))
|
||||
http.HandleFunc("/addMonster", handlers.AddMonster(&Monsters))
|
||||
http.HandleFunc("/main", handlers.MainHandler(content))
|
||||
http.HandleFunc("/main", handlers.MainHandler(content, &Monsters))
|
||||
http.HandleFunc("/about", handlers.AboutHandler(content))
|
||||
http.HandleFunc("/contact", handlers.ContactHandler(content))
|
||||
http.HandleFunc("/monsterTable", handlers.MonsterTableHandler(content, &Monsters))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue