agenda-libre-ruby/config/initializers/geocoder.rb

8 lines
274 B
Ruby
Raw Normal View History

Geocoder.configure(
# geocoding options
# timeout: 3, # geocoding service timeout (secs)
lookup: :nominatim, # name of geocoding service (symbol)
language: :fr, # ISO-639 language code
http_headers: { 'User-Agent' => 'agendadulibre.org' }
)