Skip to content

Commit

Permalink
Merge pull request #45 from joshsoftware/fix/default-max-file-size
Browse files Browse the repository at this point in the history
fix[uploadthing]: max file size mismatch
  • Loading branch information
sethu authored Oct 29, 2024
2 parents cf198e8 + dcc7e74 commit 9cb42b8
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 9cb42b8

Please sign in to comment.