error: NEXT_REDIRECT
Hi
I'm doing a server call in RSC, but it crash the app and show this kind of error where shows in the pic.
So, how to make a redirect when user validation failed in a trpc middleware?
this is minimally reproducible code https://github.com/Dieber/t3-test-redirect
GitHub
GitHub - Dieber/t3-test-redirect: for issue
for issue. Contribute to Dieber/t3-test-redirect development by creating an account on GitHub.
0 Replies