Remove map

Requires Google API key.
This commit is contained in:
Martin Polden
2018-03-04 16:49:01 +01:00
parent 3f1e267750
commit 5ff72def9c
2 changed files with 0 additions and 9 deletions

View File

@ -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)