From 97afa9aabd30ec9fa3b75bb2ea5a267e17fcf2fb Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 13 Jun 2024 09:43:55 -0600 Subject: [PATCH] Fetching matp tiles using https. --- etc/raspberrypios/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/raspberrypios/index.html b/etc/raspberrypios/index.html index 2ab8047f..d8fa8cfb 100644 --- a/etc/raspberrypios/index.html +++ b/etc/raspberrypios/index.html @@ -25,7 +25,7 @@ var map = L.map('map').setView({lon: 0, lat: 0}, 2); // add the OpenStreetMap tiles - L.tileLayer(`http://${window.location.hostname}:8084/hot/{z}/{x}/{y}.png`, { + L.tileLayer(`https://${window.location.hostname}:8084/hot/{z}/{x}/{y}.png`, { maxZoom: 19, attribution: '© OpenStreetMap contributors' }).addTo(map);