Skip to content

Commit 675268b

Browse files
authored
fix: update stac_api_url and raster_api_url properties to check correct variables (#431)
### What? / Why? - Update the condition to check the correct variable ### Testing? - Deployed to UAH dev for testing
2 parents e53f81b + 8ebddec commit 675268b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ingest_api/infrastructure/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ def veda_stac_api_cf_url(self) -> str:
114114
@property
115115
def veda_raster_api_cf_url(self) -> str:
116116
"""inferred cloudfront url of the raster api if app is configured with a custom host and root path"""
117-
if self.custom_host and self.stac_root_path:
117+
if self.custom_host and self.raster_root_path:
118118
return f"https://{self.custom_host}{self.raster_root_path}"
119119
return self.raster_api_url

0 commit comments

Comments
 (0)