fix: convert stored HTTP photo URLs to base64 for map markers, add exchangerate-api to CSP

This commit is contained in:
Maurice
2026-04-01 19:40:19 +02:00
parent e9ee2d4b0d
commit 43fc4db00e
6 changed files with 198 additions and 189 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ app.use(helmet({
"https://en.wikipedia.org", "https://commons.wikimedia.org",
"https://*.basemaps.cartocdn.com", "https://*.tile.openstreetmap.org",
"https://unpkg.com", "https://open-meteo.com", "https://api.open-meteo.com",
"https://geocoding-api.open-meteo.com",
"https://geocoding-api.open-meteo.com", "https://api.exchangerate-api.com",
],
fontSrc: ["'self'", "https://fonts.gstatic.com", "data:"],
objectSrc: ["'none'"],