aryzing
aryzing16mo ago

How to serve files with trpc?

Is is possible to serve files with trpc? E.g., by creating a middleware and returning directly from the middleware? I can't seem to serve files with trpc. Should a separate server be set up just for file serving?
1 Reply
Nick
Nick16mo ago
Not yet, you’ll need a file host and to return a URI for fetching the file