iya-sts
    Preparing search index...

    Variable didWebPartsOf

    didWebPartsOf: (base: unknown) => { host: string; segments: string[] } = ...

    Type Declaration

      • (base: unknown): { host: string; segments: string[] }
      • Splits a base URL as did:web sees it: its authority and its path segments, parsed by hand so a port the Host header carried is kept.

        Parameters

        • base: unknown

          the base URL

        Returns { host: string; segments: string[] }

        { host, segments }