From 2189c76eddf03c6004631f62a80471193d10e973 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Sun, 1 Feb 2026 17:46:24 +0100 Subject: [PATCH] renaming --- website/src/lib/components/toolbar/tools/routing/routing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/lib/components/toolbar/tools/routing/routing.ts b/website/src/lib/components/toolbar/tools/routing/routing.ts index 6c8d9df6d..17006c814 100644 --- a/website/src/lib/components/toolbar/tools/routing/routing.ts +++ b/website/src/lib/components/toolbar/tools/routing/routing.ts @@ -6,7 +6,7 @@ import { get } from 'svelte/store'; const { routing, routingProfile, privateRoads } = settings; -export const brouterProfiles: { [key: string]: string } = { +export const routingProfiles: { [key: string]: string } = { bike: 'Trekking-dry', racing_bike: 'fastbike', gravel_bike: 'gravel', @@ -19,7 +19,7 @@ export const brouterProfiles: { [key: string]: string } = { export function route(points: Coordinates[]): Promise { if (get(routing)) { - return getRoute(points, brouterProfiles[get(routingProfile)], get(privateRoads)); + return getRoute(points, routingProfiles[get(routingProfile)], get(privateRoads)); } else { return getIntermediatePoints(points); }