From 6157df41fdc3b78dd56b80aff6babef4c5749e4c Mon Sep 17 00:00:00 2001 From: Maxime Lamer <83651899+LAMM26@users.noreply.github.com> Date: Thu, 16 May 2024 11:20:16 -0400 Subject: [PATCH] feat(directions): added possibility to toggle between two routing sources (#1150) (#1150) --- src/config/config.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/config/config.json b/src/config/config.json index ca6c7ad85..2bf2e8218 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -1,7 +1,20 @@ { "directionsSources": { "osrm": { - "url": "/services/itineraire/route/v1/driving/" + "name": "OSRM Québec", + "baseUrl": "/apis/itineraire/route/v1/", + "profiles": [ + { + "name": "driving" + }, + { + "name": "forestier", + "authorization": { + "url": "/apis/igo2/user/igo", + "property": "hasOsrmPrivateAccess" + } + } + ] } }, "favoriteContext4NonAuthenticated": true,