Update base image, minor tweaks
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user