Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,5 @@ node_modules/
.ruff_cache/
.env-cdk
config.yaml
stac-browser/
.envrc
1 change: 0 additions & 1 deletion browser_config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
catalogUrl: "https://stac.eoapi.dev",
catalogTitle: "eoAPI STAC Browser",
allowExternalAccess: true, // Must be true if catalogUrl is not given
allowedDomains: [],
Expand Down
16 changes: 8 additions & 8 deletions infrastructure/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ def validate_model(self) -> Self:
and therefore `nat_gateway_count` has to be > 0."""
)

# if (
# self.stac_browser_version is not None
# and self.stac_api_custom_domain is None
# ):
# raise ValueError(
# """If a STAC browser version is provided,
# a custom domain must be provided for the STAC API"""
# )
if (
self.stac_browser_version is not None
and self.stac_api_custom_domain is None
):
raise ValueError(
"""If a STAC browser version is provided,
a custom domain must be provided for the STAC API"""
)

if self.acm_certificate_arn is None and any(
[
Expand Down