Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore(test): include other env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jun 4, 2024
1 parent 296a002 commit caa4ebe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ services:
GATEWAY_PORT: ${GATEWAY_PORT:-1984}
GATEWAY_PROTOCOL: ${GATEWAY_PROTOCOL:-http}
WARP_GATEWAY_HOST: ${GATEWAY_HOST:-arlocal}
WARP_GATEWAY_PROTOCOL: ${GATEWAY_PROTOCOL:-http}
WARP_GATEWAY_PORT: ${GATEWAY_PORT:-1984}
PREFETCH_CONTRACTS: ${PREFETCH_CONTRACTS:-false}
BLOCKLISTED_CONTRACT_IDS: ${BLOCKLISTED_CONTRACT_IDS:-fbU8Y4NMKKzP4rmAYeYj6tDrVDo9XNbdyq5IZPA31WQ}
WAIT_TIME_SECONDS: ${WAIT_TIME_SECONDS:-}
Expand Down
4 changes: 2 additions & 2 deletions src/middleware/warp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ LoggerFactory.INST.logLevel(
// use arweave.net for warp for now
const warpArweave = Arweave.init({
host: process.env.WARP_GATEWAY_HOST || 'arweave.net',
port: 443,
protocol: 'https',
port: process.env.WARP_GATEWAY_PORT || 443,
protocol: process.env.WARP_GATEWAY_PROTOCOL || 'https',
});

/**
Expand Down

0 comments on commit caa4ebe

Please sign in to comment.