From 4129031aaaf9214e145406ea3239ed8c80615522 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sun, 11 Dec 2022 15:18:02 +0100 Subject: [PATCH] up img link with www --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index bf04c90..0963f3a 100644 --- a/js/main.js +++ b/js/main.js @@ -992,7 +992,7 @@ function displayPointsFromApi(points) { console.log('layer', layer); var label = L.marker(layer._latlng, { icon: L.divIcon({ - iconUrl : 'https://cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags), + iconUrl : 'https://www.cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags), className: 'label ' + makeCssClassFromTags(feature.properties.tags), // html : html, iconSize: ['auto', 'auto'], @@ -1000,7 +1000,7 @@ function displayPointsFromApi(points) { }).addTo(map); var myIcon = L.icon({ - iconUrl : 'https://cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags), + iconUrl : 'https://www.cipherbliss.com/ou-manger/img/' + getIconFromTags(feature.properties.tags), iconSize : [iconSiZePx, iconSiZePx], iconAnchor : [iconSiZePx / 2, iconSiZePx / 2], popupAnchor: [iconSiZePx / 2, iconSiZePx / 2],