Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _includes/api/en/4x/app-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ mounting middleware.
<tr>
<td>Path</td>
<td markdown="1">
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) {
Expand Down
3 changes: 2 additions & 1 deletion _includes/api/en/5x/app-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ mounting middleware.
<tr>
<td>Path</td>
<td markdown="1">
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) => {
Expand Down