Documentation
    Preparing search index...

    Function normalizePajaProxyOrigin

    • Normalize an allowlisted origin, or throw when it is not a bare origin.

      Parameters

      • value: string

        Candidate origin.

      Returns string

      The canonical origin.

      normalizePajaProxyOrigin('https://kehto.github.io'); // 'https://kehto.github.io'