diff --git a/http/http.go b/http/http.go index 1f127f5..078dc70 100644 --- a/http/http.go +++ b/http/http.go @@ -202,13 +202,11 @@ func (s *Server) DefaultHandler(w http.ResponseWriter, r *http.Request) *appErro Host string JSON string Port bool - Map bool }{ response, r.Host, string(json), s.LookupPort != nil, - response.Country != "" && response.City != "", } if err := t.Execute(w, &data); err != nil { return internalServerError(err) diff --git a/index.html b/index.html index 7148a4f..d5b1d70 100644 --- a/index.html +++ b/index.html @@ -96,13 +96,6 @@ $ http {{ .Host }}/port/8080 } {{ end }} -{{ if .Map }} -
-

Map

-

-

-
-{{ end }}

FAQ

How do I force IPv4 or IPv6 lookup?