Creates a middleware function that applies CORS headers to the response.
You can customize the CORS options by passing an object with the following properties:
Optional configuration for CORS
A middleware function that applies CORS headers
Creates a middleware function that applies CORS headers to the response.
You can customize the CORS options by passing an object with the following properties: