From d031efb89fdd0b8f4c0fd20b61be5e4f7cc869ac Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Sun, 10 Nov 2024 02:08:13 +0000 Subject: [PATCH] Add missing built-in middleware CorsHandler to readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cbf9126..2626069 100644 --- a/README.md +++ b/README.md @@ -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`. +* `CorsHandler()` + +A secure implementation for handling CORS requests. + * `FormidableHandler()` Provides a wrapper to handle an incoming file upload using `Formidable@1`.