diff --git a/_includes/api/en/4x/app-use.md b/_includes/api/en/4x/app-use.md index 52ea12ff40..c5e9dbf90c 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`: +Matches the exact path `/abcd` and any sub-paths starting with `/abcd/` (for example, `/abcd/foo`): + ```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..8b5a2b13cc 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`: +Matches the exact path `/abcd` and any sub-paths starting with `/abcd/` (for example, `/abcd/foo`): + ```js app.use('/abcd', (req, res, next) => {