mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
docs: config and uploadController
This commit is contained in:
parent
edb7367ad3
commit
9af52e068d
@ -431,6 +431,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Experimental .passthrough() support
|
// Experimental .passthrough() support
|
||||||
|
// Make sure StreamMaxLength option in ClamAV config is big enough
|
||||||
// https://github.com/kylefarris/clamscan/tree/v2.1.2#passthrough
|
// https://github.com/kylefarris/clamscan/tree/v2.1.2#passthrough
|
||||||
clamPassthrough: false
|
clamPassthrough: false
|
||||||
},
|
},
|
||||||
|
@ -103,7 +103,7 @@ const initChunks = async uuid => {
|
|||||||
/** Multer */
|
/** Multer */
|
||||||
|
|
||||||
const executeMulter = multer({
|
const executeMulter = multer({
|
||||||
// Guide: https://github.com/expressjs/multer#limits
|
// Guide: https://github.com/expressjs/multer/tree/v1.4.4#limits
|
||||||
limits: {
|
limits: {
|
||||||
fileSize: maxSizeBytes,
|
fileSize: maxSizeBytes,
|
||||||
// Maximum number of non-file fields.
|
// Maximum number of non-file fields.
|
||||||
|
Loading…
Reference in New Issue
Block a user