Skip to main content

base_url

Function base_url 

Source
pub fn base_url(address: &str) -> String
Expand description

The base URL directory entries resolve against. nex://host/path/ stays as itself; nex://host/page drops to nex://host/; an address with no path slash gets a trailing / appended.