Builds the middleware that answers every OPTIONS request.
An allowed origin gets the CORS headers; every preflight is answered 204
here, except on a GNAP grant endpoint, where OPTIONS continues to the
route because RFC 9635 section 9 makes it the discovery request.
Builds the middleware that answers every OPTIONS request.
An allowed origin gets the CORS headers; every preflight is answered 204 here, except on a GNAP grant endpoint, where OPTIONS continues to the route because RFC 9635 section 9 makes it the discovery request.