originAllowed
originAllowed(
dep,origin):boolean
Is this page origin allowed for the deployment? An entry matches by scheme, host (exact, or “.” for one subdomain level) and port (exact, or “:” for any). https sites only, except http on this machine (localhost, 127.0.0.1, [::1]) when listed. Never “null” or a file page.
Parameters
Section titled “Parameters”Pick<Deployment, "origins">
origin
Section titled “origin”string | undefined
Returns
Section titled “Returns”boolean