lookup_web_root

Function lookup_web_root 

Source
pub fn lookup_web_root(web_root: &str) -> Result<String, Error>
Expand description

Dereference an alias to a website root.

A recognized server alias such as “staging” gets turned into the appropriate URI. A URI gets returned as is. Any other string raises a ValueError.