aboutsummaryrefslogtreecommitdiff
path: root/src/client/Network.ts
diff options
context:
space:
mode:
authoraidahosa1 <aisosa_idahosa@brown.edu>2024-09-17 13:12:08 -0400
committeraidahosa1 <aisosa_idahosa@brown.edu>2024-09-17 13:12:08 -0400
commit597ad3716286e9eff29316605514218889690da5 (patch)
tree4cda12c38e289a4b1c462d614ea8f44b267c12af /src/client/Network.ts
parent313b3d3e67689b175cdc85426ff6af809d476622 (diff)
parent62eb66ca7d3404f9977acdf73f815f4920fb964d (diff)
Merge branch 'master' into aisosa-starter
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r--src/client/Network.ts2
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`) }]));
}