UploadThing: reuse a custom id
I would like to have a static URL for each users profile image. I'm not sure if uploadthing supports this or if its even a good idea
I've been telling uploadthing to use the same custom id for a new file (after deleting the original) and it has not been accepting the upload.
does this mean once you use a custom id it cannot be used again?
my reason for this was to avoid updating a database every time a user changes their picture
1 Reply
i think mark said that after an X amount of time you can reuse the same customId
after the servers have actually deleted the files. idr the actual reason
https://discord.com/channels/966627436387266600/1102510616326967306/1300916964243411005
^^^
found it
here is what mark actually said