Selaa lähdekoodia

feat: bump max file size (#8220)

David Luzar 1 vuosi sitten
vanhempi
commit
96eeec5119
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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";