Configures the Access-Control-Allow-Headers CORS header.
Configures the Access-Control-Allow-Credentials CORS header.
Configures the Access-Control-Expose-Headers CORS header.
Configures the Access-Control-Max-Age CORS header.
Configures the Access-Control-Allow-Methods CORS header.
Provides a status code to use for successful OPTIONS requests.
Configures the Access-Control-Allow-Origins
CORS header. See here for more detail.
Whether to pass the CORS preflight response to the next handler.
Generated using TypeDoc
Interface describing CORS options that can be set.
https://github.com/expressjs/cors