getPortalSiteHostname

Function

Return the correct route for the portal hosted site

  • getPortalSiteHostname(subdomain: string, portal: IPortal) : string

Parameters

Parameter Type Default Notes
subdomain Required string

Subdomain for the site

portal Required IPortal

Portal Self

Returns

string

Function defined in packages/sites/src/get-portal-site-hostname.ts:8