pub fn resolve_host() -> StringExpand 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.
ยงExamples
use ssg::cmd::{resolve_host, DEFAULT_HOST};
// With no env override the compiled-in default is returned.
std::env::remove_var("SSG_HOST");
assert_eq!(resolve_host(), DEFAULT_HOST);