detectPublicBaseUrl
detectPublicBaseUrl(
env):string|undefined
Defined in: packages/core/src/utils/public-origin.ts:60
The address the hosting platform publishes in env, as an origin, or undefined when none is
set. It is the platform’s own domain, a working fallback but the wrong link behind a custom
domain. Cloud Run, AWS App Runner, Lambda function URLs and Cloudflare Workers publish nothing.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”string | undefined