lib/geo.rb in geo-lite-city-0.0.1 vs lib/geo.rb in geo-lite-city-0.0.2
- old
+ new
@@ -11,10 +11,10 @@
# lookup the IP in the GeoLiteCity database on city level.
def self.city(ip)
# Use some global IP if we are running locally.
if !ip || ip == "127.0.0.1"
- ip = "www.heise.de"
+ ip = "193.99.144.85"
end
if city = instance.city(ip)
complete_city(city)
end