yew::utils
pub fn host() -> Result<String, Error>
Returns host for the current document. Useful to connect to a server that serves the app.
host