Fix crash when uploading file
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user