X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/39152e4dd635436d8790ddcd92cdd3cd85b3064a..949c5276091f35e77796d39a4ed024dd2ea9f7da:/app/assets/javascripts/index/directions/graphhopper.js diff --git a/app/assets/javascripts/index/directions/graphhopper.js b/app/assets/javascripts/index/directions/graphhopper.js index 6a1043fbf..b11c49472 100644 --- a/app/assets/javascripts/index/directions/graphhopper.js +++ b/app/assets/javascripts/index/directions/graphhopper.js @@ -57,7 +57,7 @@ // https://graphhopper.com/api/1/docs/routing/ const query = new URLSearchParams({ vehicle: vehicleType, - locale: OSM.i18n.currentLocale(), + locale: OSM.i18n.locale, key: "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn", elevation: false, instructions: true,