diff --git a/_includes/api/en/4x/app-use.md b/_includes/api/en/4x/app-use.md index 52ea12ff40..0b2193eb5b 100644 --- a/_includes/api/en/4x/app-use.md +++ b/_includes/api/en/4x/app-use.md @@ -79,7 +79,8 @@ mounting middleware. Path -This will match paths starting with `/abcd`: +This will match the exact path `/abcd` and any paths beginning with `/abcd/` (including subdirectories), but will not match paths like `/abcde` : + ```js app.use('/abcd', function (req, res, next) { diff --git a/_includes/api/en/5x/app-use.md b/_includes/api/en/5x/app-use.md index c4806291b7..a9f35e8d54 100644 --- a/_includes/api/en/5x/app-use.md +++ b/_includes/api/en/5x/app-use.md @@ -80,7 +80,8 @@ mounting middleware. Path -This will match paths starting with `/abcd`: +This will match the exact path `/abcd` and any paths beginning with `/abcd/` (including subdirectories), but will not match paths like `/abcde` : + ```js app.use('/abcd', (req, res, next) => {