Skip to content

Commit dba90f3

Browse files
authored
Revert to urljoin
1 parent 6a97b6d commit dba90f3

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/core/stac_fastapi/core

1 file changed

+1
-1
lines changed

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async def all_collections(self, **kwargs) -> Collections:
213213
{
214214
"rel": Relations.self.value,
215215
"type": MimeTypes.json,
216-
"href": f"{base_url}collections",
216+
"href": urljoin(base_url, "collections"),
217217
},
218218
]
219219

0 commit comments

Comments
 (0)