From b26b21606d655b7baf28b003915a9d4317771de3 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Wed, 1 Jan 2025 22:10:35 +0100 Subject: [PATCH] docs: add note about some Express middleware not working --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47fa606..5c40894 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ Parameters: Returns: the SVRouter router (so that you can chain the methods for routes or pass-throughs) -The function adds middleware compatible with the `router` library to the SVRouter router. +The function adds middleware compatible with the `router` library to the SVRouter router. Middleware that depends on Express's request and response properties may not work. The _middleware_ parameter has these arguments of middleware compatible with the `router` library: - _req_ - the request object