Kizuki
    Preparing search index...

    Function isLocalHost

    • True if a request's Host header names this computer (127.0.0.1, localhost, or ::1). Kizuki has no login because it only listens on this computer; checking the host name stops a website that points its own domain at this computer from reaching it.

      Parameters

      • host: string | null

      Returns boolean