Skip to Content

AdminAppLocation

type AdminAppLocation = object;

Where the Modem app is: a named environment’s preset, or an explicit URL.

Properties

appApiUrl?

appApiUrl?: string;

Override the resolved app API URL, to target another deployment. A path prefix on it is kept.


environment?

environment?: ModemEnvironment;

Target Modem environment; selects its URL presets. appApiUrl or the PRETERNATURAL_MODEM_APP_BACKEND_URL env var overrides the app URL. If omitted, falls back to PRETERNATURAL_MODEM_ENV. Throws if no environment or URL resolves.

Last updated on