relay
uses process
The relay asked who has records of a collection: configure's relay, else $ATPROTO_RELAY, else Bluesky's.
import { ATPROTO_CONFIG } from "#codebase/tcmts/atproto"; export const relay = (): string => (ATPROTO_CONFIG.relay ?? process.env.ATPROTO_RELAY)?.replace(/\/+$/, "") || "https://relay1.us-east.bsky.network"