(fallbackUrl?: string | null)
| 36 | } |
| 37 | |
| 38 | function getDefaultMothershipBaseURL(fallbackUrl?: string | null): string { |
| 39 | const fallback = typeof fallbackUrl === 'string' ? fallbackUrl : undefined |
| 40 | return normalizeUrl(fallback) ?? normalizeUrl(SIM_AGENT_API_URL) ?? SIM_AGENT_API_URL_DEFAULT |
| 41 | } |
| 42 | |
| 43 | export async function getMothershipBaseURL( |
| 44 | options: GetMothershipBaseURLOptions = {} |
no test coverage detected