handleCORS
handleCORS(
req,res,options):boolean
Defined in: cors.ts:51
Handle CORS headers
Parameters
Section titled “Parameters”IncomingMessage
ServerResponse
options
Section titled “options”Required<CORSOptions>
Returns
Section titled “Returns”boolean