From f4879a9e8a9d5b1fb1b7a867468a80dce2b808bd Mon Sep 17 00:00:00 2001 From: vcoppe Date: Sun, 30 Mar 2025 20:30:22 +0200 Subject: [PATCH] update routing server url --- website/src/lib/components/toolbar/tools/routing/Routing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/lib/components/toolbar/tools/routing/Routing.ts b/website/src/lib/components/toolbar/tools/routing/Routing.ts index ec454aa4..e658e1a1 100644 --- a/website/src/lib/components/toolbar/tools/routing/Routing.ts +++ b/website/src/lib/components/toolbar/tools/routing/Routing.ts @@ -59,7 +59,7 @@ async function getRoute( brouterProfile: string, privateRoads: boolean ): Promise { - let url = `https://routing.gpx.studio?lonlats=${points.map((point) => `${point.lon.toFixed(8)},${point.lat.toFixed(8)}`).join('|')}&profile=${brouterProfile + (privateRoads ? '-private' : '')}&format=geojson&alternativeidx=0`; + let url = `https://brouter.gpx.studio?lonlats=${points.map((point) => `${point.lon.toFixed(8)},${point.lat.toFixed(8)}`).join('|')}&profile=${brouterProfile + (privateRoads ? '-private' : '')}&format=geojson&alternativeidx=0`; let response = await fetch(url);