mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
docs: config and uploadController
This commit is contained in:
parent
edb7367ad3
commit
9af52e068d
@ -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
|
||||
},
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user