CORS configuration options
OptionalrequestOrigin: string | nullThe origin from the incoming request (used for dynamic origin matching)
Optionalctx: CorsOriginContext<E, D>Optional context for resolving dynamic origins (required if origins is a function)
A record of CORS headers
Build CORS headers from a CorsConfig object and optional request origin