Skip to content

Commit

Permalink
Docs(demos): use HTTPS scheme for OSM tiles
Browse files Browse the repository at this point in the history
in order to avoid mixed content message popping up when the demo pages are accessed through HTTPS (as done by default).
  • Loading branch information
ghybs committed Feb 6, 2018
1 parent 6abcbe9 commit a270b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/subGroup-controlLayers-nestedGroups.js
@@ -1,4 +1,4 @@
var tiles = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
var tiles = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}),
Expand Down
@@ -1,4 +1,4 @@
var tiles = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
var tiles = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors, Points &copy 2012 LINZ'
}),
Expand Down

0 comments on commit a270b28

Please sign in to comment.