don't preload videos, try to fix Leaflet CSP errors

This commit is contained in:
Ben Goldsworthy 2024-08-09 23:03:12 +02:00
parent 46bd223627
commit 6dc7ed86c9
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE
6 changed files with 1308 additions and 7 deletions

View file

@ -25,7 +25,7 @@
fullscreenControl: true
}).setView([55, -3], 3);
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);