Gideon
TTCTheo's Typesafe Cult
•Created by Djamel on 8/12/2023 in #questions
Uploading multiple files at once using uploadthing
Hey, I am not sure, if this is still relevant, but right now I was looking for the same thing and for some reason wasn't able to find it via Google.
For anyone else wondering, there is a config option "maxFileCount" on the FileRouter that you create in the /api/uploadthing/core.ts file (assuming you follow the Getting Started Tutorial on the website).
Here is the relevant Docs entry: https://docs.uploadthing.com/api-reference/server#route-config
2 replies