Browse Source

feat: bump max file size (#8220)

David Luzar 1 year ago
parent
commit
96eeec5119
1 changed files with 1 additions and 1 deletions
  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 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";
 export const SVG_NS = "http://www.w3.org/2000/svg";