Skip to Content

modemEnvironmentForAppApiUrl()

function modemEnvironmentForAppApiUrl(appApiUrl): "local" | "production" | "development" | undefined;

The named environment whose app API URL is appApiUrl, or undefined for any other deployment. development and production share one URL, so it answers production for that URL.

Parameters

appApiUrl

string

Last updated on