Update base image, minor tweaks

This commit is contained in:
2020-07-10 22:07:56 -07:00
parent ea8dd3fd77
commit 0ade0b9817
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ func getCity(req *http.Request) (*geoip2.City, error) {
ipStr := req.FormValue("ip")
ip := net.ParseIP(ipStr)
if ip == nil {
return nil, fmt.Errorf("Missing IP")
return nil, fmt.Errorf("missing IP address")
}
return getCityIP(ip)
}