Skip to main content

API_ENV

Constant API_ENV 

Source
pub const API_ENV: &str = "GITPOULPI_UPDATE_API";
Expand description

Env var that points the check at another API root (tests: a loopback server). Unset: https://api.github.com. Test builds refuse every non-loopback host anyway (http::external_host_refusal).