Send 5% of users tiles over https as a test

This commit is contained in:
Tom Hughes 2014-02-05 18:38:36 +00:00
parent 25b93471c1
commit 6b843cc158

View file

@ -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';
}