increase single file upload size limit

This commit is contained in:
Philipinho
2026-04-30 03:04:02 +01:00
parent 28b46dc0cb
commit 00eab7ac61
4 changed files with 9 additions and 9 deletions
@@ -247,7 +247,7 @@ function ImportFormatSelection({ spaceId, onClose }: ImportFormatSelection) {
}, 3000);
}, [fileTaskId]);
const maxSingleFileSize = bytes("20mb");
const maxSingleFileSize = bytes("30mb");
const handleFileUpload = async (selectedFiles: File[]) => {
if (!selectedFiles) {
+1 -1
View File
@@ -77,7 +77,7 @@
"cookie": "^1.1.1",
"fast-bm25": "0.0.5",
"fastify-ip": "^2.0.0",
"firecrawl-pdf-inspector": "https://github.com/Philipinho/pdf-inspector/releases/download/v0.9.2/pdf-inspector-prebuilt.tar.gz",
"firecrawl-pdf-inspector": "https://github.com/Philipinho/pdf-inspector/releases/download/v1.9.1/pdf-inspector-prebuilt.tar.gz",
"fs-extra": "^11.3.4",
"happy-dom": "20.8.9",
"ioredis": "^5.10.1",
@@ -53,7 +53,7 @@ export class ImportController {
) {
const validFileExtensions = ['.md', '.html', '.docx', '.pdf'];
const maxFileSize = bytes('20mb');
const maxFileSize = bytes('30mb');
let file = null;
try {