Skip to main content

DEFAULT_CLEARNET_URL

Constant DEFAULT_CLEARNET_URL 

Source
pub const DEFAULT_CLEARNET_URL: &str = "wss://potential-replacing-directed-suite.trycloudflare.com/ws";
Expand description

huddle 1.1: the operator’s clearnet door onto the SAME relay backend as DEFAULT_SERVER_URL, fronted by a cloudflared tunnel (valid TLS, no domain of our own). Baked in so users who can’t reach Tor still connect with zero config. It sits LAST in [default_fallback_order], so a working onion is always preferred and a Tor user never dials clearnet — this only lights up when the onion is unreachable.

NOTE: a free *.trycloudflare.com hostname rotates whenever the relay’s cloudflared restarts, so this constant can go stale; a release pins whatever was live at build time. For a durable default, repoint it at a named cloudflared tunnel (stable hostname via a domain on Cloudflare). Override per-client with --clearnet-server, clearnet_url in config.toml, or Settings → Network; an explicit value always wins over this default.