docs: fix skipTrailingSlashRedirect middleware example (#65220)
The example here only updates the pathname, but the redirect path is determined by taking the `req.nextUrl` object and stringifying it, which means it would return the wrong redirect location. Closes NEXT-3260
Showing
Please
register
or
sign in
to comment