Skip to content

Commit

Permalink
fix: increase max file size
Browse files Browse the repository at this point in the history
  • Loading branch information
HungLV46 committed Aug 30, 2024
1 parent 698a405 commit 9c0c302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/routes/utils/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const uploadFileRoute: Hapi.ServerRoute = {
// load the whole file to memory
payload: {
multipart: true,
maxBytes: 1048576,
maxBytes: 10485760,
parse: true,
output: 'stream',
},
Expand Down

0 comments on commit 9c0c302

Please sign in to comment.