From 34d8a59fd4414f93c74c703ca8b9208ab059bf86 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 26 Jun 2025 12:08:39 +0800 Subject: [PATCH] . --- chatdesk-ui/db/storage/files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatdesk-ui/db/storage/files.ts b/chatdesk-ui/db/storage/files.ts index c299976..33cdbc1 100644 --- a/chatdesk-ui/db/storage/files.ts +++ b/chatdesk-ui/db/storage/files.ts @@ -15,7 +15,7 @@ export const uploadFile = async ( if (file.size > SIZE_LIMIT) { 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` ) }