X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3c771a7844fe6d8536eae0a8c9f544059b7eb001..38180c56c9be9d99406c9088b60f5912c2648a04:/app/assets/javascripts/index/directions/mapquest.js diff --git a/app/assets/javascripts/index/directions/mapquest.js b/app/assets/javascripts/index/directions/mapquest.js index f46d94dcf..0f645ceeb 100644 --- a/app/assets/javascripts/index/directions/mapquest.js +++ b/app/assets/javascripts/index/directions/mapquest.js @@ -36,7 +36,7 @@ function MapQuestEngine(id, routeType) { var to = points[points.length - 1]; return $.ajax({ - url: document.location.protocol + "//open.mapquestapi.com/directions/v2/route", + url: document.location.protocol + OSM.MAPQUEST_DIRECTIONS_URL, data: { key: OSM.MAPQUEST_KEY, from: from.lat + "," + from.lng,