We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2ed40 commit c4f91a1Copy full SHA for c4f91a1
2 files changed
src/config.ts
@@ -1,2 +1,2 @@
1
-/** Maximum file size in bytes (1GB) */
2
-export const MAX_FILE_SIZE = 1 * 1024 * 1024 * 1024
+/** Maximum file size in bytes (10GB) */
+export const MAX_FILE_SIZE = 10 * 1024 * 1024 * 1024
worker/src/index.ts
@@ -2,7 +2,7 @@ interface Env {
BUCKET: R2Bucket
3
}
4
5
-const MAX_FILE_SIZE = 1 * 1024 * 1024 * 1024 // 1GB
+const MAX_FILE_SIZE = 10 * 1024 * 1024 * 1024 // 10GB
6
const CHUNK_SIZE = 80 * 1024 * 1024 // 80MB - must match frontend
7
const MAX_AGE_MS = 60 * 60 * 1000 // 1 hour
8
const CORS_HEADERS = {
0 commit comments