Skip to content

Commit

Permalink
docs: Add note about middleware and runtimes (#58873)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Pfifer <justin.pfifer@carvana.com>
Co-authored-by: Lee Robinson <me@leerob.io>
  • Loading branch information
3 people authored Dec 6, 2023
1 parent 4a52268 commit 3f20b46
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -388,6 +388,10 @@ export default async function middleware(req) {
}
```

## Runtime

Middleware currently only supports the [Edge runtime](/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes). The Node.js runtime can not be used.

## Version History

| Version | Changes |

0 comments on commit 3f20b46

Please sign in to comment.