]> git.openstreetmap.org Git - rails.git/commitdiff
Boost https tile traffic to 20%
authorTom Hughes <tom@compton.nu>
Wed, 5 Feb 2014 19:43:44 +0000 (19:43 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 5 Feb 2014 19:43:44 +0000 (19:43 +0000)
app/assets/javascripts/application.js

index dd44ea1078eac4c41a3bcc812d3da3f2590562b0..5b06876497a0b4dde3e8666c7671c23691a59e0c 100644 (file)
@@ -139,6 +139,6 @@ $(document).ready(function () {
   });
 });
 
-if (Math.random() * 100 < 5) {
+if (Math.random() * 100 < 20) {
   L.OSM.Mapnik.prototype.options.url = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
 }