Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ChangeSiteDomain

Index

Methods

change

  • change(site: Site, domains: IDomains, silent?: boolean, updateSite?: boolean, desiredProtocol?: "http" | "https" | null): Promise<void>
  • Parameters

    • site: Site
    • domains: IDomains
    • 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
  • If using localhost routing, enforce the URLs to use HTTP.

    Parameters

    • url: any

    Returns boolean

Generated using TypeDoc