mirror of https://github.com/mpolden/echoip
Data finetuning
This commit is contained in:
parent
0bcb7a180d
commit
71505f9ecb
|
@ -232,10 +232,10 @@ func (s *Server) DefaultHandler(w http.ResponseWriter, r *http.Request) *appErro
|
|||
}{
|
||||
response,
|
||||
r.Host,
|
||||
json.city.Latitude + 0.05,
|
||||
json.city.Latitude - 0.05,
|
||||
json.city.Longitude - 0.05,
|
||||
json.city.Longitude + 0.05,
|
||||
response.Latitude + 0.05,
|
||||
response.Latitude - 0.05,
|
||||
response.Longitude - 0.05,
|
||||
response.Longitude + 0.05,
|
||||
string(json),
|
||||
s.LookupPort != nil,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue