Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

feat: bump max file size (#8220)

David Luzar96eeec5119bd
diff --git a/packages/excalidraw/constants.ts b/packages/excalidraw/constants.ts
index 426854f9c3..031db6f8ab 100644
--- a/packages/excalidraw/constants.ts
+++ b/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";