isValidDomain

Function

Validate a custom domain

Parameters

Parameter Type Default Notes
hostname Required string

to validate

hubRequestOptions Required IHubRequestOptions

Returns

Promise<any>

Function defined in common/src/sites/domains/is-valid-domain.ts:10