Methods
change
- change(site: Site, domains: IDomains, silent?: boolean, updateSite?: boolean, desiredProtocol?: "http" | "https" | null): Promise<void>
-
Parameters
-
-
-
Optional silent: boolean
-
Optional updateSite: boolean
-
Optional desiredProtocol: "http" | "https" | null
Returns Promise<void>
changeSiteDomainToHost
- changeSiteDomainToHost(site?: Site | null): Promise<void>
-
Parameters
-
Optional site: Site | null
Returns Promise<void>
getSelectedSite
- getSelectedSite(): Site | null
requiresProtocolChange
- requiresProtocolChange(url: any): boolean
-
Parameters
Returns boolean
If using localhost routing, enforce the URLs to use HTTP.