Skip to content

Commit

Permalink
feat(filecoin): fix HOSTED_ZONE usage in Filecoin stack
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward authored and Peeja committed Sep 6, 2024
1 parent 3a27b29 commit 6b2fb9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ Please notice that appropriate environment variables must be set for the develop

Ensure the following variables are set in the env when deploying

#### `HOSTED_ZONE`
#### `HOSTED_ZONES`

The root domain to deploy the w3up API to. e.g `up.web3.storage`. The value should match a hosted zone configured in route53 that your aws account has access to.
The root domain(s) to deploy the w3up API to. e.g `up.web3.storage`. The value should match a hosted zone configured in route53 that your aws account has access to. Multiple zones can be specified, in which case they are seperated by a comma, and this will cause deployment to each specified zone.

#### `ROUNDABOUT_HOSTED_ZONE`

Expand Down
2 changes: 1 addition & 1 deletion stacks/filecoin-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function FilecoinStack({ stack, app }) {
STOREFRONT_PROOF,
START_FILECOIN_METRICS_EPOCH_MS
} = getEnv()
const storefrontCustomDomain = getCustomDomain(stack.stage, process.env.HOSTED_ZONE)
const storefrontCustomDomain = getCustomDomain(stack.stage, process.env.HOSTED_ZONES?.split(",")[0])

// Setup app monitoring with Sentry
setupSentry(app, stack)
Expand Down

0 comments on commit 6b2fb9f

Please sign in to comment.