From 61bc84c532f08bffca07f28103cf00f9b4f24172 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Wed, 26 Jun 2024 22:13:30 -0400 Subject: [PATCH] fix items collection link href --- pygeoapi/api/itemtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/api/itemtypes.py b/pygeoapi/api/itemtypes.py index 5101e10..466583f 100644 --- a/pygeoapi/api/itemtypes.py +++ b/pygeoapi/api/itemtypes.py @@ -549,7 +549,7 @@ def get_collection_items( 'title': l10n.translate( collections[dataset]['title'], request.locale), 'rel': 'collection', - 'href': uri + 'href': '/'.join(uri.split('/')[:-1]) }) content['timeStamp'] = datetime.utcnow().strftime(