]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm.rb
Rename CSS class matches for change in controller name
[rails.git] / lib / osm.rb
index 71e12534ffe57c348d4802d81aeb40f9a4b31cbf..841cce17b8f49dba022de129d7d50b04aba63335 100644 (file)
@@ -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