Skip to content

Commit

Permalink
fix[uploadthing]: max file size mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabh-josh committed Oct 29, 2024
1 parent cf198e8 commit dcc7e74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/app/api/uploadthing/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ export const ourFileRouter = {
{
audio: {
maxFileCount: 1,
maxFileSize: "1024MB"
},
video: {
maxFileCount: 1,
maxFileSize: "1024MB"
}
})
// Set permissions and file types for this FileRoute
Expand Down

0 comments on commit dcc7e74

Please sign in to comment.