From 96eeec5119bd03019af2d052e5f295fc87fd2a1a Mon Sep 17 00:00:00 2001 From: David Luzar <5153846+dwelle@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:35:13 +0200 Subject: [PATCH] feat: bump max file size (#8220) --- packages/excalidraw/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";