Skip to main content

well_known_api_bases

Function well_known_api_bases 

Source
pub fn well_known_api_bases() -> impl Iterator<Item = &'static str>
Expand description

Iterator over the well-known TaskFast API base URLs — one per Environment variant, derived from Environment::api_base.

Used by the F2 endpoint-override guard: an api_base supplied via the --api-base flag is rejected unless it matches one of these or the caller passed --allow-custom-endpoints.