Expand description
CORS plugin (cors).
Adds Access-Control-* response headers for allowed origins and
short-circuits OPTIONS preflight requests with a 204 response. Never
errors: disallowed origins simply pass through without CORS headers.
Structs§
- Cors
Plugin - Applies CORS response headers based on the request’s
Originheader.