next.js middleware, NextResponse.redirect() not working when using map or foreach, bu... (2 answers)

next.js middleware, NextResponse.redirect() not working when using map or foreach, bu... (2 answers)

mlabsinfo

1 год назад

174 Просмотров

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
Ссылки и html тэги не поддерживаются


Комментарии: