Dinuma
Help Retrieving req.url from opts in useMutation from tRPC
I just figured it out, it was my lack of understanding that the fetchRouterHandler was meant for edge runtimes, and I had to change my createContext function to
FetchCreateContextFnOptions
change my trpc route handler appropriatly for the fetchRouter: /app/api/trpc/[trpc]/route.ts
4 replies