next.js
13830a07 - docs: explain runtime config removal on the middleware-to-proxy error page (#101616)

Commit
21 days ago
docs: explain runtime config removal on the middleware-to-proxy error page (#101616) ## Summary The `Route segment config is not allowed in Proxy file` build error links to `/docs/messages/middleware-to-proxy`, but that page never mentions `runtime`. Adds a section explaining that Proxy always runs on Node.js, that any `runtime` value (including `'nodejs'`) fails `next build`, how to remove it, and that apps relying on the Edge runtime should keep using `middleware`. <!-- NEXT_JS_LLM -->
Author
Parents
Loading