diff --git a/CHANGELOG.md b/CHANGELOG.md index 29dc5e39..9e072803 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Changed - The code for this application is now available under the AGPL 3.0 licence. +- **BREAKING** The application updated to STAC-Browser version 3.2.0 and changed how /browser requests are proxied. ## v1.1.143 - 2024-09-30 diff --git a/Directory.Build.props b/Directory.Build.props index 540058b4..274ff6ae 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -10,7 +10,7 @@ git 8.0-recommended false - 1.1 + 2.0 diff --git a/docker-compose.yml b/docker-compose.yml index 46dbe228..c136d292 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: stac-browser: - image: ghcr.io/geowerkstatt/stac-browser:latest + image: ghcr.io/geowerkstatt/stac-browser:3.2.0 ports: - 8080:8080 environment: diff --git a/src/Geopilot.Api/appsettings.json b/src/Geopilot.Api/appsettings.json index 436563f5..115e0d10 100644 --- a/src/Geopilot.Api/appsettings.json +++ b/src/Geopilot.Api/appsettings.json @@ -16,10 +16,7 @@ "ClusterId": "stacBrowserCluster", "Match": { "Path": "/browser/{**catch-all}" - }, - "Transforms": [ - { "PathRemovePrefix": "/browser" } - ] + } } } }, diff --git a/tests/Geopilot.Api.Test/Controllers/VersionControllerTest.cs b/tests/Geopilot.Api.Test/Controllers/VersionControllerTest.cs index 6be8cd94..9eb26dc4 100644 --- a/tests/Geopilot.Api.Test/Controllers/VersionControllerTest.cs +++ b/tests/Geopilot.Api.Test/Controllers/VersionControllerTest.cs @@ -9,6 +9,6 @@ public void GetVersion() var result = new VersionController().Get(); Assert.IsNotNull(result); Assert.IsTrue(result.Length > 0); - StringAssert.StartsWith(result, "1.1", StringComparison.Ordinal); + StringAssert.StartsWith(result, "2.0", StringComparison.Ordinal); } }