iya-sts
    Preparing search index...

    Variable baseUrlOf

    baseUrlOf: (req: any) => string = baseUrlOf

    Type Declaration

      • (req: any): string
      • Returns the base URL a request should be answered under, the trust realm's path prefix included.

        global.publicBaseUrl pins it; otherwise it is read off the request, forwarded headers only where a proxy is trusted.

        Parameters

        • req: any

          the request

        Returns string

        the base URL, without a trailing slash