mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
feat: limit document upload size (#347)
This commit is contained in:
3
packages/lib/universal/unit-convertions.ts
Normal file
3
packages/lib/universal/unit-convertions.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export function megabytesToBytes(megabytes: number) {
|
||||
return megabytes * 1000000;
|
||||
}
|
||||
Reference in New Issue
Block a user