Skip to content

Commit 8a68711

Browse files
committed
Switch to https as default and hope it works better than protocol relative URL
1 parent c8e6ee5 commit 8a68711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/L.Routing.OSRM.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
L.Routing.OSRM = L.Class.extend({
1616
options: {
17-
serviceUrl: '//router.project-osrm.org/viaroute',
17+
serviceUrl: 'https://router.project-osrm.org/viaroute',
1818
timeout: 30 * 1000,
1919
routingOptions: {},
2020
polylinePrecision: 6

0 commit comments

Comments
 (0)