Skip to main content

PRODUCTION_HOSTS

Constant PRODUCTION_HOSTS 

Source
pub const PRODUCTION_HOSTS: &[&str];
Expand description

The hosts a document fetched from the production relay may name: exact names, not a suffix, so a sub-name nobody listed is never trusted.

These lists are a contract with the cloud. An installed build refuses every host that is not on its own list, so a host the cloud wants to publish later has to be in a released build first. A change here is a change to what every installed build follows: test it (the_host_lists_are_pinned) and release it before the cloud uses it.