OSM geocoding is associated with a proper user agent
This commit is contained in:
parent
07d10b25dc
commit
2104f145cf
@ -1,7 +1,7 @@
|
|||||||
Geocoder.configure(
|
Geocoder.configure(
|
||||||
# geocoding options
|
# geocoding options
|
||||||
# timeout: 3, # geocoding service timeout (secs)
|
# timeout: 3, # geocoding service timeout (secs)
|
||||||
timeout: 10,
|
|
||||||
lookup: :nominatim, # name of geocoding service (symbol)
|
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' }
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user