Setu-TS
    Preparing search index...

    Function publicRequestUrl

    • Substitutes the published origin while preserving the request path and query. Without a published origin, returns the original URL byte for byte.

      Parameters

      Returns string

      The public absolute request URL

      When a URL requiring substitution is invalid

      const request = new Request(publicRequestUrl(ctx));
      

      0.10.0