Reads the origin published by IP security, falling back to the request URL. This accessor makes no proxy trust decision.
The current request context
The published or URL-derived origin
When the fallback request URL is invalid
const origin = requestOriginOf(ctx).origin; Copy
const origin = requestOriginOf(ctx).origin;
0.10.0
Reads the origin published by IP security, falling back to the request URL. This accessor makes no proxy trust decision.