Skip to content

Commit 22fa69a

Browse files
committed
bux fixed
1 parent 7d05c11 commit 22fa69a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xcube/webapi/ows/stac/controllers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ def _get_assets(ctx: DatasetsContext, base_url: str, dataset_id: str):
900900
"root": "datasets",
901901
"storage_options": {
902902
"anon": True,
903-
"client_kwargs": {"endpoint_url": "http://localhost:8080/s3"},
903+
"client_kwargs": {"endpoint_url": f"{base_url}/s3"},
904904
},
905905
},
906906
"xcube:open_data_params": {"data_id": f"{dataset_id}.zarr"},
@@ -924,7 +924,7 @@ def _get_assets(ctx: DatasetsContext, base_url: str, dataset_id: str):
924924
"root": "pyramids",
925925
"storage_options": {
926926
"anon": True,
927-
"client_kwargs": {"endpoint_url": "http://localhost:8080/s3"},
927+
"client_kwargs": {"endpoint_url": f"{base_url}/s3"},
928928
},
929929
},
930930
"xcube:open_data_params": {"data_id": f"{dataset_id}.levels"},

0 commit comments

Comments
 (0)