Skip to main content

resolve_host

Function resolve_host 

Source
pub fn resolve_host() -> String
Expand description

Resolve the dev-server host, preferring $SSG_HOST over DEFAULT_HOST.

Returns the value of the SSG_HOST environment variable if set and non-empty; otherwise returns the compiled-in default.