localNetwork

tcmts.atproto.localNetwork · #tkaqnxxq · term · runs on the server

uses process

Whether the AT Protocol network is one on this machine, or a test's ($TCM_ATPROTO_LOCAL=1): plain http, and addresses only this machine or its network reach, are allowed for the servers records and documents name. Never set for a registry on the internet.

export const localNetwork = (): boolean => process.env.TCM_ATPROTO_LOCAL === "1"

used by