Skip to content

Commit 558560e

Browse files
committed
forward config to landing page
1 parent 0cf131a commit 558560e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

runtimes/eoapi/stac/eoapi/stac/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ async def lifespan(app: FastAPI):
164164
),
165165
settings=settings,
166166
extensions=application_extensions,
167-
client=PgSTACClient(
167+
client=PgSTACClient( # type: ignore
168+
landing_page_id=settings.stac_fastapi_landing_id,
169+
title=settings.stac_fastapi_title,
170+
description=settings.stac_fastapi_description,
168171
pgstac_search_model=search_post_model,
169172
),
170173
items_get_request_model=items_get_model,

runtimes/eoapi/stac/eoapi/stac/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Settings(config.Settings):
3636
"""Extent stac-fastapi-pgstac settings"""
3737

3838
stac_fastapi_title: str = "eoAPI-stac"
39-
stac_fastapi_description: str = "Custom stac-fastapi application for eoAPI Devseed"
39+
stac_fastapi_description: str = "Custom stac-fastapi application for eoAPI-Devseed"
4040
stac_fastapi_version: str = "0.1.0"
4141
stac_fastapi_landing_id: str = "eoapi-devseed-stac"
4242

0 commit comments

Comments
 (0)