From 5f07d1f8fe94238a3616fe48bf575a17d20936ec Mon Sep 17 00:00:00 2001 From: Maxime Lamer Date: Mon, 4 Mar 2024 12:12:18 -0500 Subject: [PATCH] feat(directions): added possibility to toggle between two routing sources (#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,