You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Odd as it might be returning return NextResponse.rewrite(new URL('/_sites/' + site, request.url)) does the trick, and doesn't cause infinite redirects.
This example, seems to be no longer recommended, because of this PR, vercel/next.js#33410.
Is there any way to still enforce the rewriting behavior?
The text was updated successfully, but these errors were encountered: