nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

since the middleware is depracated migrate to it is recommeed to migrate to proxy

Open Faizanahmedsy opened this issue 2 weeks ago • 4 comments

@node-core/website:dev: ⚠ The "middleware" file convention is deprecated. Please use "proxy" instead. Learn more: https://nextjs.org/docs/messages/middleware-to-proxy

can u please assign this issue to me ? is possible

Faizanahmedsy avatar Dec 14 '25 13:12 Faizanahmedsy

can u please assign this issue to me ? is possible

We don't assign external contributors to issues, but feel free to open a PR.

avivkeller avatar Dec 14 '25 13:12 avivkeller

It should be as simple as running npx @next/codemod@canary middleware-to-proxy apps/site

avivkeller avatar Dec 14 '25 13:12 avivkeller

@avivkeller hey can u please check the pr

Faizanahmedsy avatar Dec 14 '25 14:12 Faizanahmedsy

It should be as simple as running npx @next/codemod@canary middleware-to-proxy apps/site

Oh, I have done the changes manually as I didn't knew about that, i have run all the tests and build , no issues found

Faizanahmedsy avatar Dec 14 '25 14:12 Faizanahmedsy