Next.js Discord

Discord Forum

NextResponse.redirect causes the web page source code to not change?

Unanswered
Air Penguin posted this in #help-forum
Open in Discord

3 Replies

When the token exists, everything is normal when executing the NextResponse.next() page.
But when the token does not exist, same steps, The source code of the web page shows the code of the root route
Does anyone know why this is?