Use https for nominatim

This commit is contained in:
Tom Hughes 2018-01-08 10:49:36 +00:00
parent ce9066797c
commit af1397436f
3 changed files with 4 additions and 4 deletions

View file

@ -76,7 +76,7 @@ OSM.Directions = function (map) {
endpoint.awaitingGeocode = true;
$.getJSON(document.location.protocol + OSM.NOMINATIM_URL + 'search?q=' + encodeURIComponent(endpoint.value) + '&format=json', function (json) {
$.getJSON(OSM.NOMINATIM_URL + 'search?q=' + encodeURIComponent(endpoint.value) + '&format=json', function (json) {
endpoint.awaitingGeocode = false;
endpoint.hasGeocode = true;
if (json.length === 0) {