Add missing built-in middleware CorsHandler to readme
All checks were successful
/ deploy (push) Successful in 17s

This commit is contained in:
Jonatan Nilsson 2024-11-10 02:08:13 +00:00
parent bed505fbe2
commit d031efb89f

View file

@ -189,6 +189,10 @@ Parse the search query and create a map with key->value in `ctx.query`.
Parse incoming request body as json and store it in `ctx.req.body`. Parse incoming request body as json and store it in `ctx.req.body`.
* `CorsHandler()`
A secure implementation for handling CORS requests.
* `FormidableHandler()` * `FormidableHandler()`
Provides a wrapper to handle an incoming file upload using `Formidable@1`. Provides a wrapper to handle an incoming file upload using `Formidable@1`.