Function getNetworkByHostname

  • Determines the network type based on the provided hostname.

    Parameters

    • hostname: string

      The hostname to evaluate.

    Returns "local" | "remote" | "ic"

    A string indicating the network type: "local", "remote", or "ic".