From 77996a7951d705648a419c52cad2922f39c46a8f Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Mon, 6 May 2024 16:03:37 -0600 Subject: [PATCH 1/2] fix(ingest): default empty string for root path in ingest api construct --- ingest_api/runtime/src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingest_api/runtime/src/config.py b/ingest_api/runtime/src/config.py index 8ad9dea3..12e8f8d9 100644 --- a/ingest_api/runtime/src/config.py +++ b/ingest_api/runtime/src/config.py @@ -28,7 +28,7 @@ class Settings(BaseSettings): ) client_id: str = Field(description="The Cognito APP client ID") client_secret: str = Field("", description="The Cognito APP client secret") - root_path: Optional[str] = Field(description="Root path of API") + root_path: Optional[str] = None stage: Optional[str] = Field(description="API stage") @property From 13de8de2f9f3a6b19eb7b5c7f7a16707d641ac8b Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Mon, 6 May 2024 16:07:30 -0600 Subject: [PATCH 2/2] fix(ingest): default empty string for root path in ingest api construct --- ingest_api/infrastructure/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingest_api/infrastructure/config.py b/ingest_api/infrastructure/config.py index dbeacbb8..823cf616 100644 --- a/ingest_api/infrastructure/config.py +++ b/ingest_api/infrastructure/config.py @@ -51,7 +51,7 @@ class IngestorConfig(BaseSettings): description="URL of Raster API used to serve asset tiles" ) - ingest_root_path: str = Field(description="Root path for ingest API") + ingest_root_path: str = Field("", description="Root path for ingest API") custom_host: Optional[str] = Field(description="Custom host name") class Config: