From 38afba08202c6045f2c8e67df8294df6b4c17eda Mon Sep 17 00:00:00 2001 From: jubnl Date: Sun, 5 Apr 2026 05:23:33 +0200 Subject: [PATCH] fix(csp): add https://router.project-osrm.org/route/v1 to CSP Connect-Src --- server/src/app.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/app.ts b/server/src/app.ts index 1ea8b4c..acf9a79 100644 --- a/server/src/app.ts +++ b/server/src/app.ts @@ -82,7 +82,8 @@ export function createApp(): express.Application { "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://api.exchangerate-api.com", - "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_50m_admin_0_countries.geojson" + "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_50m_admin_0_countries.geojson", + "https://router.project-osrm.org/route/v1" ], fontSrc: ["'self'", "https://fonts.gstatic.com", "data:"], objectSrc: ["'none'"],