Open rampall opened 3 months ago
config.ts
const beeApiUrl = BEE_API_URL || DEFAULT_BEE_API_URL
split by comma and pluraliseproxy.ts
interface Options
, replace beeApiUrl: string
with string[]
beeApiUrl
in fetchAndRespond
stamps.ts
get postageStamp(): string
with custom logic to select stamp (or ignore if using custom middleware for stamps)There is a Bee instance created in server.ts
:
const bee = new Bee(beeApiUrl)
However, it is used only for readiness checks, exposing Bee identity, and homepage. If you don't need those features, feel free to ignore it.
Simple but ugly fix is using beeApiUrls[0]
instead.
BEE_API_URL