feat: file upload limit 50M
This commit is contained in:
parent
563c08c233
commit
b4dc00ecd4
|
@ -13,7 +13,7 @@ app.register(FastifyMultipart, {
|
|||
attachFieldsToBody:true,
|
||||
limits: {
|
||||
fields: 10, // Max number of non-file fields
|
||||
fileSize: 1024 * 1024 * 30, // limit size 6M
|
||||
fileSize: 1024 * 1024 * 50, // limit size 50M
|
||||
files: 5 // Max number of file fields
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue