From 47692656e4eafee9ed1cb028aed08ac295efea6d Mon Sep 17 00:00:00 2001 From: vcoppe Date: Sat, 22 Mar 2025 13:32:45 +0100 Subject: [PATCH] use new routing server --- 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..6a61cb24 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 = `http://ns339329.ip-37-187-249.eu?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);