Skip to main content

collapse_default_alias

Function collapse_default_alias 

Source
fn collapse_default_alias(url: String) -> Option<String>
Expand description

Reproduces Node CLI’s literal-string check in config.command.ts: the strings "null", "bitwarden.com", and "https://bitwarden.com" collapse to a missing server (i.e. fall back to the default cloud URL on read).