Hyperlinkv0.8.0-beta.28

Hyperlink

Hyperlink.clientHostconstsrc/Hyperlink.ts:4062

The default host a bare-port client shorthand resolves against — an Effect Config (EFFECT_PM_CLIENT_HOST) defaulting to "localhost". In dev nothing is set → localhost; in production set it (EFFECT_PM_CLIENT_HOST=api.myapp.com) and every protocolHttp(3009) / protocolWebsocket(3009) / connect(tag, …(port)) becomes …://api.myapp.com:3009/rpc — no NODE_ENV branching, just "did they configure a host".

transportsConfig
Source src/Hyperlink.ts:40623 lines
export const clientHost: Config.Config<string> = Config.string(
  "EFFECT_PM_CLIENT_HOST",
).pipe(Config.withDefault("localhost"));