docs: config and uploadController

This commit is contained in:
Bobby 2022-04-16 23:06:25 +07:00
parent edb7367ad3
commit 9af52e068d
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09
2 changed files with 2 additions and 1 deletions

View File

@ -431,6 +431,7 @@ module.exports = {
},
// Experimental .passthrough() support
// Make sure StreamMaxLength option in ClamAV config is big enough
// https://github.com/kylefarris/clamscan/tree/v2.1.2#passthrough
clamPassthrough: false
},

View File

@ -103,7 +103,7 @@ const initChunks = async uuid => {
/** Multer */
const executeMulter = multer({
// Guide: https://github.com/expressjs/multer#limits
// Guide: https://github.com/expressjs/multer/tree/v1.4.4#limits
limits: {
fileSize: maxSizeBytes,
// Maximum number of non-file fields.