How to remove X-Middleware-Rewrite header?
Unanswered
Masai Lion posted this in #help-forum
Masai LionOP
I have a Next.js app that uses middleware to redirect to an external URL. I use NextResponse.rewrite function. Is there any way to remove X-Middleware-Rewrite header that is added through rewrite function?