lib/geocoder/lookups/nominatim.rb in geocoder-1.1.4 vs lib/geocoder/lookups/nominatim.rb in geocoder-1.1.5
- old
+ new
@@ -32,9 +32,9 @@
params
end
def query_url(query)
method = query.reverse_geocode? ? "reverse" : "search"
- "http://nominatim.openstreetmap.org/#{method}?" + url_query_string(query)
+ "#{protocol}://nominatim.openstreetmap.org/#{method}?" + url_query_string(query)
end
end
end