node8-express-template icon indicating copy to clipboard operation
node8-express-template copied to clipboard

Fixes #7 giving function dev the ability to handle OPTIONS CORS headers

Open nerdguru opened this issue 5 years ago • 0 comments

Simple two line fix that enables the function developer to write to the response headers for the OPTIONS verb in the same way they already could for GET and POST. They can now branch in function code on event.method for OPTIONS and handle CORS headers as they see fit.

nerdguru avatar Oct 01 '18 18:10 nerdguru