Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion src/content/docs/en/4x/guide/overriding-express-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Altering the global prototypes will affect all loaded Express apps in the same p

You can override the signature and behavior of existing methods with your own, by assigning a custom function.

Following is an example of overriding the behavior of [res.sendStatus](/api/response/#ressendstatusstatuscode).
Following is an example of overriding the behavior of [res.sendStatus](/api/response/#ressendstatus).

```js
app.response.sendStatus = function (statusCode, type, message) {
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/5x/guide/overriding-express-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Altering the global prototypes will affect all loaded Express apps in the same p

You can override the signature and behavior of existing methods with your own, by assigning a custom function.

Following is an example of overriding the behavior of [res.sendStatus](/api/response/#ressendstatusstatuscode).
Following is an example of overriding the behavior of [res.sendStatus](/api/response/#ressendstatus).

```js
app.response.sendStatus = function (statusCode, type, message) {
Expand Down
Loading