瀏覽代碼

feat: bump max file size (#8220)

David Luzar 1 年之前
父節點
當前提交
96eeec5119
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/excalidraw/constants.ts

+ 1 - 1
packages/excalidraw/constants.ts

@@ -274,7 +274,7 @@ export const DEFAULT_EXPORT_PADDING = 10; // px
 
 export const DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT = 1440;
 
-export const MAX_ALLOWED_FILE_BYTES = 2 * 1024 * 1024;
+export const MAX_ALLOWED_FILE_BYTES = 4 * 1024 * 1024;
 
 export const SVG_NS = "http://www.w3.org/2000/svg";