Boneman
Boneman
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
hey everyone! I am currently using uploadthing to do file uploads (images, audios) from my frontend. I am getting into the following problem: 1. User opens the form. 2. Uploads the file which is sent over to uploadthing storage. 3. User refreshes the page. In this case, the file has been uploaded to server and is saved but it is not being used by a post or anything. How do I make it so files are deleted if not used. I implemented the uploadthing part long ago. Please let me know if there are new things available that can solve this. Thank you!
11 replies