I was ignoring this video for a while cause I felt the video long and I still have problem uploading images after A week. Now just watched the video and it's so worth it. Thanks mate👍
Can you please show how to delete file uploaded to uploadthing? Like in crud operations, when image links are removed from db, I'd want the images themselves to be removed as well.
Amazing video! Good job, @CandDev! Talking about this, does anyone know how to get this to work via Next.js Server Actions? In 2023 (Next 13 and 14) almost everyone in production has moved towards using Server Actions. Personally, I don't care - but uploading like this gets really messy (and often broken) in most middleware setups - unless we stick to Server Actions.
⨯ No HTTP methods exported in 'C:\Users\arief\Documents extjs extjs-blog-app\src\app\api\uploadthing oute.ts'. Export a named export for each HTTP method. POST /api/uploadthing?actionType=upload&slug=imageUploader 405 in 883ms kok saya error ya bang pas mau coba upload
I was ignoring this video for a while cause I felt the video long and I still have problem uploading images after A week.
Now just watched the video and it's so worth it. Thanks mate👍
Thank you! Nice and straight-forward tutorial, keep it up Cand!
With this video it was really easy!! Awesome job dude !
great video, to the point. Thank you
Can you please show how to delete file uploaded to uploadthing? Like in crud operations, when image links are removed from db, I'd want the images themselves to be removed as well.
hey did you find it out how to do that?
Make sure your /api/uploadthing routes are available without authentication if you're using middleware (uploadthing server calls them after upload)
Woww!! that's awesome!!!
Thanks!!
Amazing video! Good job, @CandDev! Talking about this, does anyone know how to get this to work via Next.js Server Actions? In 2023 (Next 13 and 14) almost everyone in production has moved towards using Server Actions. Personally, I don't care - but uploading like this gets really messy (and often broken) in most middleware setups - unless we stick to Server Actions.
How do I set content-disposition to attachment in uploadthing?
thanks
it helped
And how to add another image, what's the easiest way to remove the previous one?
I really wanted to see if it worked on deployment, mine works on localhost but not on my domain or in deployment
Can i do js instead of ts?
Yes of course. just change the file to JS and remove all types
⨯ No HTTP methods exported in 'C:\Users\arief\Documents
extjs
extjs-blog-app\src\app\api\uploadthing
oute.ts'. Export a named export for each HTTP method.
POST /api/uploadthing?actionType=upload&slug=imageUploader 405 in 883ms kok saya error ya bang pas mau coba upload
is there anyway to use on reactjs
Brother, can you please make a video about blogging apps with auth + crud upload images?
great idea.
with server actions
Nice Video 😇