Returning new Response
Using t3 app router boilerplate code. I want to return a file but it doesn't work.
Procedure returns:
Network tab:
Solution:Jump to solution
trpc procedure can't return a response, you can return the text or binary data from the procedure or create an api route
1 Reply
Solution
trpc procedure can't return a response, you can return the text or binary data from the procedure or create an api route