Skip to content

Commit

Permalink
Merge pull request #9 from Eoxia/add_open_street_map
Browse files Browse the repository at this point in the history
#5 [Library] Fix HTTPS request
  • Loading branch information
eoxia-amandine authored Mar 12, 2024
2 parents 688006b + a583200 commit dd7704b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/asset/js/backend.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/annonce/asset/js/annonce-openstreetmap.backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ async function annonceGetAddressAttr(address) {
var address
let result;
try {
result = await jQuery.getJSON('http://nominatim.openstreetmap.org/search?q=' + address + '&format=json&polygon=1&addressdetails=1');
result = await jQuery.getJSON('https://nominatim.openstreetmap.org/search?q=' + address + '&format=json&polygon=1&addressdetails=1');
return result;
} catch (error) {
console.log(error);
console.log(error);
}
}

Expand Down

0 comments on commit dd7704b

Please sign in to comment.