autocomplete endpoint change
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
this.responselength = 0
|
||||
return []
|
||||
}
|
||||
result = await fetch("https://api-adresse.data.gouv.fr/search/?q=" + this.input)
|
||||
result = await fetch("https://data.geopf.fr/geocodage/search/?q=" + encodeURIComponent(this.input))
|
||||
json = await result.json()
|
||||
console.log(json)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
this.responselength = 0
|
||||
return []
|
||||
}
|
||||
result = await fetch("https://api-adresse.data.gouv.fr/search/?q=" + this.input)
|
||||
result = await fetch("https://data.geopf.fr/geocodage/search/?q=" + encodeURIComponent(this.input))
|
||||
json = await result.json()
|
||||
console.log(json)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user