mirror of https://github.com/mpolden/echoip
oops
This commit is contained in:
parent
fcadf09659
commit
f152d2c2a8
|
@ -296,7 +296,7 @@ func (s *Server) DefaultHandler(w http.ResponseWriter, r *http.Request) *appErro
|
|||
}
|
||||
|
||||
var data = struct {
|
||||
Response parser.Response
|
||||
parser.Response
|
||||
Host string
|
||||
BoxLatTop float64
|
||||
BoxLatBottom float64
|
||||
|
@ -316,6 +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