Upload image from server to uploadthing
Hello!
My image is generated on the server, from user text input.
Is it possible to upload the image directly from the server to uploadthing?
It looks like to me uploadthing is only really used for users to upload, not the server?
Thanks in advance!
4 Replies
No, it’s not possible due to security
wut
thats kinda weird?
security how?
im the one in control of the server side
I ended up just using an r2 bucket
But like didn’t you mean the upload button on the frontend side? On the frontend side you can’t preupload the file there
Sorry for super slow reply.
The user upload text data to serverless, serverless then generates an image from it, and uploads it to an r2 bucket