Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Document middleware response changes
Beginning in Next.js 13, middleware can now respond directly, without needing to rewrite or redirect, when the experimental `.allowMiddlewareResponseBody` configuration setting is set. Document this behavior.
- Loading branch information
Edward Thomson
committed
Nov 1, 2022
1 parent
6c7e76b
commit 6c3671f
Showing
1 changed file
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters