does trpc work on the edge runtime with the latest create-t3-app?

I tried adding export const runtime = "edge"; in /api/trpc/[trpc]/route.ts but I get this error: Error [TypeError]: edgeFunction is not a function
Solution:
nevermind, it works out of the box, I just had some bad code that couldn't run on edge
Jump to solution
1 Reply
Solution
Nurof3n
Nurof3n12mo ago
nevermind, it works out of the box, I just had some bad code that couldn't run on edge
Want results from more Discord servers?
Add your server