drupflare/worker - v1.0.4
    Preparing search index...

    Module ops/site-id

    Which site a request belongs to when the caller did not say. The object name is the site, so a wrong answer serves another site's database rather than failing.

    Layers in order: ?site= (only when the caller opts in), KV by host, SITE_ID, the deployment's primary site, the derived hostname, then site. The optional layers come first because derivation answers for every real host and would shadow them.

    ResolvedSite
    ResolveSiteOptions
    SiteIdEnv
    FALLBACK_SITE
    HOST_MEMO_MS
    encodeSiteId
    locationHint
    resetHostMemo
    resolveSite
    siteFromHost
    siteKvKey
    siteStubOptions