mirror of https://github.com/mpolden/echoip
some refactoring, more to go
This commit is contained in:
parent
08a55bc67f
commit
02619025af
|
@ -316,7 +316,7 @@ func (s *Server) DefaultHandler(w http.ResponseWriter, r *http.Request) *appErro
|
|||
s.LookupPort != nil,
|
||||
s.Sponsor,
|
||||
}
|
||||
fmt.Printf("%+v\n", data);
|
||||
|
||||
if err := t.Execute(w, &data); err != nil {
|
||||
return internalServerError(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue