cornpopguy
Explore posts from serversTTCTheo's Typesafe Cult
•Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
Or do something like described here: https://canary.discord.com/channels/966627436387266600/1237558840736743435/1237797771562582129 .
11 replies
TTCTheo's Typesafe Cult
•Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
I think that you could remove
"/(api|trpc)(.*)"
from the matcher and handle auth directly in trpc like make a protected procedure.11 replies
TTCTheo's Typesafe Cult
•Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
I would recommend you to migrate to clerk middleware as auth middleware is depreacted afaik https://clerk.com/docs/references/nextjs/overview#clerk-middleware
11 replies