This commit is contained in:
hailin 2025-06-26 12:08:39 +08:00
parent c6164443ae
commit 34d8a59fd4
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export const uploadFile = async (
if (file.size > SIZE_LIMIT) { if (file.size > SIZE_LIMIT) {
throw new Error( throw new Error(
`File must be less than ${Math.floor(SIZE_LIMIT / 1000000)}MB` `File must be less than ${Math.floor(SIZE_LIMIT / 104857600)}MB`
) )
} }