Skip to content

Commit

Permalink
fix: reformat file
Browse files Browse the repository at this point in the history
  • Loading branch information
botanical committed Aug 8, 2024
1 parent c7602e7 commit 9de201d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions routes/infrastructure/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,18 @@ def __init__(
),
)

if stage == "production" and veda_route_settings.domain_hosted_zone_name == "openveda.cloud":
self.cf_domain_names=[
f"{stage}.{veda_route_settings.domain_hosted_zone_name}",
f"{veda_route_settings.domain_hosted_zone_name}"
]
if (
stage == "production"
and veda_route_settings.domain_hosted_zone_name == "openveda.cloud"
):
self.cf_domain_names = [
f"{stage}.{veda_route_settings.domain_hosted_zone_name}",
f"{veda_route_settings.domain_hosted_zone_name}",
]
else:
self.cf_domain_names=[
f"{stage}.{veda_route_settings.domain_hosted_zone_name}"
]
self.cf_domain_names = [
f"{stage}.{veda_route_settings.domain_hosted_zone_name}"
]

self.distribution = cf.Distribution(
self,
Expand Down

0 comments on commit 9de201d

Please sign in to comment.