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:Jump to solution
nevermind, it works out of the box, I just had some bad code that couldn't run on edge
1 Reply
Solution
nevermind, it works out of the box, I just had some bad code that couldn't run on edge