fix: validate import size

This commit is contained in:
Philipinho
2026-03-03 20:00:05 +00:00
parent f12bfc1ff7
commit 057360c6be
2 changed files with 28 additions and 1 deletions
@@ -53,7 +53,7 @@ export class ImportController {
) {
const validFileExtensions = ['.md', '.html', '.docx'];
const maxFileSize = bytes('10mb');
const maxFileSize = bytes('20mb');
let file = null;
try {