resolveAppApiUrl()
function resolveAppApiUrl(config?): string;Resolve the app API URL from (in priority order):
- explicit
override PRETERNATURAL_MODEM_APP_BACKEND_URL/NEXT_PUBLIC_*env vars- preset for the given
environment(orPRETERNATURAL_MODEM_ENV)
Throws with an actionable message if no URL can be resolved.
Parameters
config?
ResolveUrlConfig = {}
Last updated on