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

8 lines
274 B
Ruby

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