Don't show http-only routers to users on https

This commit is contained in:
Richard Fairhurst 2014-03-10 18:02:28 +00:00
parent 9d8ab7dbd1
commit 23ffdadb56
4 changed files with 11 additions and 8 deletions

View file

@ -57,4 +57,4 @@ OSRMEngine.prototype.createConfig = function() {
};
};
OSM.RoutingEngines.list.push(new OSRMEngine("Car", "http://router.project-osrm.org/viaroute").createConfig());
OSM.RoutingEngines.add(false, new OSRMEngine("Car", "http://router.project-osrm.org/viaroute").createConfig());