OSM geocoding is associated with a proper user agent

This commit is contained in:
echarp 2016-01-30 18:33:37 +01:00
parent 07d10b25dc
commit 2104f145cf

View File

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