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/api/4x/api/response/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ or the referring URL, and the URL specified in the `Location` header; and redire

Redirects to the URL derived from the specified `path`, with specified `status`, a positive integer
that corresponds to an [HTTP status code](https://www.rfc-editor.org/rfc/rfc9110#name-status-codes) .
If not specified, `status` defaults to "302 "Found".
If not specified, `status` defaults to 302 "Found".

```js
res.redirect('/foo/bar');
Expand Down
2 changes: 1 addition & 1 deletion src/content/api/5x/api/response/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Clears the cookie with the specified `name` by sending a `Set-Cookie` header tha
This instructs the client that the cookie has expired and is no longer valid. For more information
about available `options`, see [res.cookie()](#rescookie).

<Alert type="alert">The `expires` and `max-age` options are being ignored completely.</Alert>
<Alert type="alert">The `expires` and `maxAge` options are being ignored completely.</Alert>

<Alert type="alert">

Expand Down
Loading