Skip to content

Commit

Permalink
feat: redirect to datahub and not header and dont call areaofcompetence
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Jun 13, 2024
1 parent e054d2e commit 65d9512
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datahub/conf/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fonts_stylesheet_url = "https://fonts.googleapis.com/css2?family=Display&family=
# Optional; specify a GeoJSON object to be used as filter: all records contained inside the geometry will be boosted on top,
# all records which do not intersect with the geometry will be shown with lower priority; can be specified as URL or inline
# Note: if the GeoJSON object contains multiple features, only the geometry of the first one will be kept!
filter_geometry_url = "/console/account/areaofcompetence"
#filter_geometry_url = "/console/account/areaofcompetence"
# filter_geometry_data = '{ "coordinates": [...], "type": "Polygon" }'

# The advanced search filters available to the user can be customized with this setting.
Expand Down
4 changes: 2 additions & 2 deletions gateway/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ spring:
gateway:
routes:
- id: root
uri: ${georchestra.gateway.services.header.target}
uri: ${georchestra.gateway.services.datahub.target}
predicates:
- Path=/
filters:
- RedirectTo=308, /header
- RedirectTo=308, /datahub/
- id: header
uri: ${georchestra.gateway.services.header.target}
predicates:
Expand Down

0 comments on commit 65d9512

Please sign in to comment.