diff --git a/ingest_api/infrastructure/config.py b/ingest_api/infrastructure/config.py index d8277013..31a894bb 100644 --- a/ingest_api/infrastructure/config.py +++ b/ingest_api/infrastructure/config.py @@ -114,6 +114,6 @@ def veda_stac_api_cf_url(self) -> str: @property def veda_raster_api_cf_url(self) -> str: """inferred cloudfront url of the raster api if app is configured with a custom host and root path""" - if self.custom_host and self.stac_root_path: + if self.custom_host and self.raster_root_path: return f"https://{self.custom_host}{self.raster_root_path}" return self.raster_api_url