Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
2 replies
mmurto

How to redirect from login page with trpc's SSR enabled?

Any simple solutions for redirecting unauthenticated users to /login and authenticated users from /login to / with trpc's SSR enabled, i.e., without the use of getServerSideProps?
Was this page helpful?