Don't show http-only routers to users on https
This commit is contained in:
parent
9d8ab7dbd1
commit
23ffdadb56
4 changed files with 11 additions and 8 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue