-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload files to a post policy url directly from the server #7
Comments
Hey Tim, would this be also required in order for tRPC to work with next-upload? |
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 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: