X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ee5e4ac5a440335e5a13f7f7b25511cafc2f432c..24ddb8657d383487bbfae3a674c9c7db36982c88:/app/assets/javascripts/index/directions/osrm.js 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) {