TRPC function type per router

I know you can run your TRPC endpoint on vercel's edge, but does anyone know if I can run some routes on serverless and some on edge? Thanks
1 Reply
Matvey
Matvey2y ago
I think you can have 2 endpoints, one on the edge and one in a lambda, and use a splitLink in tRPC to use different endpoints - https://trpc.io/docs/links/splitLink This is just a suggestion, I never tried it and it might not work.
Want results from more Discord servers?
Add your server