From b651917211654820ef1817e99f11ad1fe02c533f Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Tue, 16 Jun 2020 12:08:46 +0200 Subject: [PATCH] Lugmap.Linux.it: aggiornati assets Leaflet --- eventi/index.php | 4 ++-- mappa/index.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eventi/index.php b/eventi/index.php index 0e02070b..39fe5f48 100644 --- a/eventi/index.php +++ b/eventi/index.php @@ -19,8 +19,8 @@ require_once ('../funzioni.php'); lugheader ('Eventi', - array ('http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css'), - array ('http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js', 'mappa.js')); + array ('https://unpkg.com/leaflet@0.6.4/dist/leaflet.css'), + array ('https://unpkg.com/leaflet@0.6.4/dist/leaflet.js', 'mappa.js')); ?> diff --git a/mappa/index.php b/mappa/index.php index 2c5303c1..39c0bf89 100644 --- a/mappa/index.php +++ b/mappa/index.php @@ -19,8 +19,8 @@ require_once ('../funzioni.php'); lugheader ('Mappa', - array ('https://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css'), - array ('https://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js', 'mappa.js')); + array ('https://unpkg.com/leaflet@0.6.4/dist/leaflet.css'), + array ('https://unpkg.com/leaflet@0.6.4/dist/leaflet.js', 'mappa.js')); $transformed = false;