Skip to content

Commit

Permalink
fix(release): make ingest api root path optional (#370)
Browse files Browse the repository at this point in the history
### Changed

- [fix(ingest): default empty string for root path in ingest api
construct](#369)
  • Loading branch information
botanical authored May 7, 2024
2 parents 6fc9ded + c23dd1e commit 7f58da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ingest_api/infrastructure/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ingest_api/runtime/src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f58da4

Please sign in to comment.