mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-05 11:28:26 +00:00
A public origin-bootstrap app row planted on an alternate hosting domain could resolve ahead of the owner's private app and skip the private access gate (PUT-1883). - get-user-app-token canonicalizes hosted-subdomain origins before uid derivation and bootstrap, so every hosting variant shares one app row - the app create/update conflict check crosses hosting-domain variants, so an existing alt-host stub is absorbed by the owner's create - resolveOwnedAppForHostedSite and the canonical-uid lookup order matches private-first with a deterministic id tiebreak