handleSubdomainChange

Function

Update the site properties related to subdomain after the subdomain has been changed.

Update the site properties related to subdomain after the subdomain has been changed.

Parameters

Parameter Type Default Notes
site Required Partial<IHubSite>

The site to update

requestOptions Required IHubRequestOptions

Available requestOptions

Property Type Notes
authentication Optional ArcGISIdentityManager
fetch Optional function(input: RequestInfo, init: RequestInit) : Promise<Response>

The implementation of fetch to use. Defaults to a global fetch.

hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

void

Function defined in common/src/sites/_internal/subdomains.ts:46