Skip to content

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.

Pick<Deployment, "origins">

string | undefined

boolean