X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d2765cb23d5501b6f10c82afdd90a760674f542f..24ddb8657d383487bbfae3a674c9c7db36982c88:/app/assets/javascripts/index/directions/osrm.js?ds=inline diff --git a/app/assets/javascripts/index/directions/osrm.js b/app/assets/javascripts/index/directions/osrm.js index d9ce0a6b1..2ee9da12b 100644 --- a/app/assets/javascripts/index/directions/osrm.js +++ b/app/assets/javascripts/index/directions/osrm.js @@ -51,7 +51,7 @@ function OSRMEngine() { } return $.ajax({ - url: document.location.protocol + "//router.project-osrm.org/viaroute", + url: document.location.protocol + OSM.OSRM_URL, data: params, dataType: "json", success: function (data) {