@elysiumoss/ui-capture - v0.3.0
    Preparing search index...

    Function resolveRequestUrl

    • Resolves a request path against the page URL.

      A path is same-origin by construction, which removes a whole class of misconfiguration before validation has to catch it; an absolute URL is still accepted so a states file can be explicit, and is then subjected to the crawler's host filter by the caller.

      Parameters

      • requestPath: string
      • pageUrl: string

      Returns URL