Skip to content

normalizeOrigin

normalizeOrigin(value?): string | undefined

Defined in: packages/core/src/utils/public-origin.ts:10

The origin (scheme://host[:port]) of value, or undefined when it is not an http(s) URL without credentials. A bare host (app.example.com), as platforms often publish, reads as https.

string

string | undefined