diff options
author | bobzel <zzzman@gmail.com> | 2024-09-12 13:40:16 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-12 13:40:16 -0400 |
commit | 7deef9a2e4fb27521a16734f212092aaba0a11a6 (patch) | |
tree | 9039e1dc475413c767ef724189580a077673fa1f /src/client/Network.ts | |
parent | 484e85d4448cd56d096a1b234d2a98a638e08c77 (diff) | |
parent | 623da0b4eec34fbd238cc26a5e0c105426a6711e (diff) |
Merge branch 'master' into keanu-comments
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`) }])); } |