Fix crash when uploading file

This commit is contained in:
Girish Ramakrishnan
2019-12-09 15:02:51 -08:00
parent 9a77fb6306
commit e4dd5d6434
2 changed files with 3 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ function initializeExpressSync() {
.use(router)
.use(middleware.lastMile());
// NOTE: these limits have to be in sync with nginx limits
// NOTE: routes that use multi-part have to be whitelisted in the reverse proxy
var FILE_SIZE_LIMIT = '256mb', // max file size that can be uploaded (see also client_max_body_size in nginx)
FILE_TIMEOUT = 60 * 1000; // increased timeout for file uploads (1 min)