Skip to main content

api_url

Function api_url 

Source
pub fn api_url() -> String
Expand description

Base URL of the lean-ctx cloud API. Unit tests and cargo-launched binaries get the discard port instead of any non-loopback endpoint, so test fixtures (telemetry probes, feedback, stats, wrapped cards) can never reach production; their requests fail fast with “connection refused”.