Skip to content

Docs say Next.js runtime is not supported for middleware, but it works #69503

Answered by Juneezee
hdodov asked this question in Help
Discussion options

You must be logged in to vote

Your code works because you are not using any Node.js APIs that are not available in the Edge Runtime. See the Unsupported APIs section of Edge Runtime 1.

Footnotes

  1. https://nextjs.org/docs/app/api-reference/edge#unsupported-apis

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hdodov
Comment options

Answer selected by hdodov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants