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.
Parameters
Section titled “Parameters”value?
Section titled “value?”string
Returns
Section titled “Returns”string | undefined