next.js middleware, NextResponse.redirect() not working when using map or foreach, but it works when using for loops
Found it helpful? Subscribe to my youtube channel.
Source: stackoverflow.com/questions/72607504/next-js-middleware-nextresponse-redirect-not-working-when-using-map-or-foreac.
Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions.
Тэги:
#next_js #middleware