We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/
1 parent b763302 commit 05e752cCopy full SHA for 05e752c
src/stac-api/index.ts
@@ -12,7 +12,7 @@ class StacApi {
12
baseUrl: string;
13
14
constructor(baseUrl: string) {
15
- this.baseUrl = baseUrl;
+ this.baseUrl = baseUrl.endsWith('/') ? baseUrl.slice(0, -1) : baseUrl;
16
}
17
18
fixBboxCoordinateOrder(bbox?: Bbox): Bbox | undefined {
0 commit comments