cmd/strelaysrv: Load map tiles over HTTPS (#7382)

This commit is contained in:
otbutz 2021-02-19 22:07:05 +01:00 committed by GitHub
parent b1fbd87680
commit c18dc6a629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@
uptimeSeconds: 0,
};
$scope.map = L.map('map').setView([40.90296, 1.90925], 2);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
attribution: 'Leaflet',
maxZoom: 17