matchSite
matchSite(
sites,hostname):SiteSummary|undefined
Exactly one published site → that site (no host mapping needed; the local-development and
single-site case). Otherwise the site whose hosts contains hostname (case-insensitive,
hostname only — the server stores Host.Host, port-less). undefined when nothing matches.
Parameters
Section titled “Parameters”readonly SiteSummary[]
hostname
Section titled “hostname”string | undefined
Returns
Section titled “Returns”SiteSummary | undefined