]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/osrm.js
Revert "Don't pass the locale to the Mapzen routing engine"
[rails.git] / app / assets / javascripts / index / directions / osrm.js
index d9ce0a6b1fe9f0e803e77495ee60104ed395bec3..2ee9da12b1d78dbce1f057d9f706e5d4fa374692 100644 (file)
@@ -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) {