videosphere
    Preparing search index...
    • Resolves a SermonAudio API path or URL for server-side fetch. Rejects absolute URLs whose hostname is not the configured SermonAudio API host. Rejects URLs that include embedded credentials and non-default HTTPS ports. Always normalizes the result to HTTPS on the default port.

      Parameters

      • pathOrUrl: string

        Relative API path or absolute SermonAudio API URL (e.g. pagination next).

      Returns string

      Resolved HTTPS URL, or null when the input is invalid or untrusted.