NextJS customId support in /api/uploadthing route
Hi everyone, I've checked the docs and I can't find the correct way to use customId values in nextjs app router.
@theo (t3.gg) what an I doing wrong?
Here is my core.ts:
2 Replies
on the client side of my app i have a handler function to upload to uploadthing using the uploadthing route:
Check this out - you can use the UTFiles symbol in your middleware to override the uploaded files attributes: https://docs.uploadthing.com/file-routes#middleware
File Routes - UploadThing Docs
File Routes is a core concept of UploadThing that defines what your users can upload