X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1f2ac59d1d24d75c510412e63070d83af13c6757..1a0ed716f7ec8e873966566cde50af2630203cb8:/lib/osm.rb diff --git a/lib/osm.rb b/lib/osm.rb index 71e12534f..841cce17b 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -510,7 +510,7 @@ module OSM if ipinfo country = ipinfo.country_code2 else - country = http_client.get("http://api.hostip.info/country.php?ip=#{ip_address}").body + country = http_client.get("https://api.hostip.info/country.php?ip=#{ip_address}").body country = "GB" if country == "UK" end