You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not too familiar with how tRPC works. If the you're talking about transmitting a file from a trpc client to a trpc server, then the answer is no, as that's opposite of how next-upload is built to work.
By the way for this issue, I'm 99% sure it already works, it just needs to be documented.
Basically I was just trying to put the upload function behind a mutation endpoint within trpc, so that the upload request itself is hidden from the client as the client just calls uploadImage with the files, but I guess that’s not feasible then. Thank you though :)
next-upload/client/upload
only works in the browser, but sometimes you may want to upload a buffer from nodejs.The text was updated successfully, but these errors were encountered: