]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions_engines/graphhopper.js
Merge pull request #30 from zerebubuth/routing-ui-tweaks-2
[rails.git] / app / assets / javascripts / index / directions_engines / graphhopper.js
index 11d70efc55666ae4369c9519370c57bfe17abc93..8d01bcd169dd06c691faf849f9d3e2ab1aab260a 100644 (file)
@@ -13,13 +13,13 @@ function GraphHopperEngine(id, vehicleParam) {
 
   return {
     id: id,
-    creditline: '<a href="http://graphhopper.com/" target="_blank">Graphhopper</a>',
+    creditline: '<a href="https://graphhopper.com/" target="_blank">Graphhopper</a>',
     draggable: false,
 
     getRoute: function (points, callback) {
       // documentation
       // https://github.com/graphhopper/graphhopper/blob/master/docs/web/api-doc.md
-      var url = "http://graphhopper.com/api/1/route?"
+      var url = "https://graphhopper.com/api/1/route?"
         + vehicleParam
         + "&locale=" + I18n.currentLocale()
         + "&key=LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn"