Skip to main content

normalizeGlobalBackendUrl

@nuclia/coreDocs


@nuclia/core / normalizeGlobalBackendUrl

Function: normalizeGlobalBackendUrl()

normalizeGlobalBackendUrl(url): string

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

Defined in

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