Skip to main content

DEFAULT_HOST

Constant DEFAULT_HOST 

Source
pub const DEFAULT_HOST: &str = "127.0.0.1";
Expand description

Default host for the local development server.

Loopback by default. WSL2 users whose Windows host can’t reach the distro on 127.0.0.1 (and Codespaces / dev-containers users binding outside their network namespace) should set SSG_HOST=0.0.0.0 and let resolve_host pick it up. The same applies to SSG_PORT.