Send 5% of users tiles over https as a test
This commit is contained in:
parent
25b93471c1
commit
6b843cc158
1 changed files with 4 additions and 0 deletions
|
@ -138,3 +138,7 @@ $(document).ready(function () {
|
|||
$("header").toggleClass("closed");
|
||||
});
|
||||
});
|
||||
|
||||
if (Math.random() * 100 < 5) {
|
||||
L.OSM.Mapnik.prototype.options.url = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue