added file size limit env var
This commit is contained in:
parent
52553229fa
commit
15ee2509f7
|
@ -27,8 +27,7 @@ const logger = createLogger({
|
|||
})]
|
||||
});
|
||||
|
||||
//constants
|
||||
fileSizeLimit = 524288000;
|
||||
fileSizeLimit = parseInt(process.env.FILE_SIZE_LIMIT_BYTES || "536870912") //536870912 = 512MB
|
||||
port = 3000;
|
||||
timeout = 3600000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user