mirror of
https://github.com/simon987/Architeuthis.git
synced 2025-04-10 13:36:41 +00:00
config update pt2
This commit is contained in:
parent
45bd47649c
commit
dfa66c9533
2
main.go
2
main.go
@ -52,7 +52,7 @@ func New() *Architeuthis {
|
||||
templ, _ := template.ParseFiles("templates/stats.html")
|
||||
|
||||
mux.HandleFunc("/stats", func(w http.ResponseWriter, r *http.Request) {
|
||||
err = templ.Execute(w, a.getStats())
|
||||
_ = templ.Execute(w, a.getStats())
|
||||
})
|
||||
|
||||
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user