Unverified Commit 3f20b46b authored by Justin Pfifer's avatar Justin Pfifer Committed by GitHub

docs: Add note about middleware and runtimes (#58873)

Co-authored-by: 's avatarJustin Pfifer <justin.pfifer@carvana.com>
Co-authored-by: 's avatarLee Robinson <me@leerob.io>
parent 4a522689
...@@ -388,6 +388,10 @@ export default async function middleware(req) { ...@@ -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 History
| Version | Changes | | Version | Changes |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment