oag-mcp
    Preparing search index...

    Function browserOrigin

    • The browser origin a value names, scheme://host[:port] as browsers send it in the Origin header (default ports omitted), or undefined when the value is not an origin: unparseable, or with credentials, a path, a query or a fragment.

      Parameters

      Returns string | undefined

      the normalised origin