Spaces:
Sleeping
Sleeping
wuyiqun0718
commited on
Commit
·
9bda098
1
Parent(s):
5b99fc6
feat: increase file size limit
Browse files- lib/aws.ts +1 -1
lib/aws.ts
CHANGED
@@ -2,7 +2,7 @@ import { createPresignedPost } from '@aws-sdk/s3-presigned-post';
|
|
2 |
import { S3Client } from '@aws-sdk/client-s3';
|
3 |
import { fromEnv } from '@aws-sdk/credential-providers';
|
4 |
|
5 |
-
const FILE_SIZE_LIMIT =
|
6 |
|
7 |
const s3Client = new S3Client({
|
8 |
region: process.env.AWS_REGION,
|
|
|
2 |
import { S3Client } from '@aws-sdk/client-s3';
|
3 |
import { fromEnv } from '@aws-sdk/credential-providers';
|
4 |
|
5 |
+
const FILE_SIZE_LIMIT = 20971520; // 20MB
|
6 |
|
7 |
const s3Client = new S3Client({
|
8 |
region: process.env.AWS_REGION,
|