Function: getSiteByHost()
getSiteByHost(
hostOrUrl,locale?):null|HeadlessConfig
Defined in: packages/core/src/utils/config.ts:148
Finds a site by host and optionally locale
Parameters
hostOrUrl
string
The hostname
locale?
string
Returns
null | HeadlessConfig