diff options
author | bobzel <zzzman@gmail.com> | 2024-09-11 10:37:03 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-11 10:37:03 -0400 |
commit | 1ed378a79d545516a42121819d7049c20aecbc8c (patch) | |
tree | b1f112b03b1dbf0c3b23ec7a019c7da06c1aed3f /src/client/Network.ts | |
parent | 62eda6aa6af765526fd065dc271b9d53e2b28002 (diff) | |
parent | d3817d1c03b68ab2c69ab5ccfb5e8d6943df8f25 (diff) |
Merge branch 'master' into zach-starter
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r-- | src/client/Network.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Network.ts b/src/client/Network.ts index 204fcf0ac..9afdc844f 100644 --- a/src/client/Network.ts +++ b/src/client/Network.ts @@ -50,7 +50,7 @@ export namespace Networking { if (!fileguidpairs.length) { return []; } - const maxFileSize = 6000000; + const maxFileSize = 50000000; if (fileguidpairs.some(f => f.file.size > maxFileSize)) { return new Promise<Upload.FileResponse<T>[]>(res => res([{ source: { newFilename: '', mimetype: '' } as formidable.File, result: new Error(`max file size (${maxFileSize / 1000000}MB) exceeded`) }])); } |