mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
fix: validate import size
This commit is contained in:
@@ -53,7 +53,7 @@ export class ImportController {
|
||||
) {
|
||||
const validFileExtensions = ['.md', '.html', '.docx'];
|
||||
|
||||
const maxFileSize = bytes('10mb');
|
||||
const maxFileSize = bytes('20mb');
|
||||
|
||||
let file = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user