Skip to content

Commit

Permalink
adjusted configs and modules
Browse files Browse the repository at this point in the history
  • Loading branch information
LAMM26 committed Mar 11, 2024
1 parent 1e801f6 commit 66c6d45
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
6 changes: 2 additions & 4 deletions src/app/pages/portal/portal.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import {
provideILayerSearchSource,
provideNominatimSearchSource,
provideOptionsApi,
providePublicOsrmDirectionsSource,
providePrivateOsrmDirectionsSource,
provideOsrmDirectionsSource,
provideStoredQueriesSearchSource,
provideStyleListOptions,
provideWorkspaceSearchSource
Expand All @@ -40,8 +39,7 @@ import { PortalComponent } from './portal.component';
provideCoordinatesReverseSearchSource(),
provideILayerSearchSource(),
provideStoredQueriesSearchSource(),
providePublicOsrmDirectionsSource(),
providePrivateOsrmDirectionsSource(),
provideOsrmDirectionsSource(),
provideOptionsApi(),
provideCadastreSearchSource(),
provideStyleListOptions({
Expand Down
33 changes: 17 additions & 16 deletions src/config/config.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"directionsSources": [
{
"osrm": {
"name": "OSRM Québec (Public)",
"type": "public",
"url": "/apis/itineraire/route/v1/driving/"
}
},
{
"osrm": {
"name": "OSRM Québec (Partenaires)",
"type": "private",
"url": "/apis/itineraire/route/v1/forestier/",
"authorizationUrl": "/apis/igo2/user/igo"
}
"directionsSources": {
"osrm": {
"name": "OSRM Québec",
"baseUrl": "/apis/itineraire/route/v1/",
"profiles": [
{
"name": "driving"
},
{
"name": "forestier",
"authorization": {
"url": "/apis/igo2/user/igo",
"property": "hasOsrmPrivateAccess"
}
}
]
}
],
},
"favoriteContext4NonAuthenticated": true,
"theme": "blue-theme",
"header": {
Expand Down

0 comments on commit 66c6d45

Please sign in to comment.