Skip to main content

normalizeGlobalBackendUrl

@nuclia/core


@nuclia/core / normalizeGlobalBackendUrl

Function: normalizeGlobalBackendUrl()

normalizeGlobalBackendUrl(url): string

Defined in: libs/sdk-core/src/lib/rest/utils.ts:20

Canonical global backend used by the SDK.

Legacy deployments may still pass rag.<domain> as backend. Global endpoints must target accounts.<domain>, so we normalize here.

Parameters​

url​

string

Returns​

string