Skip to content

Commit af4c732

Browse files
authored
fix: change photo max size (FlowiseAI#1416)
1 parent d4169bf commit af4c732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/app/src/components/ChatBox/MessageInput.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ const MessageInput = ({
6969
const url = await compressImgFileAndUpload({
7070
type: MongoImageTypeEnum.chatImage,
7171
file: file.rawFile,
72-
maxW: 4329,
73-
maxH: 4329,
74-
maxSize: 1024 * 1024 * 5,
72+
maxW: 4320,
73+
maxH: 4320,
74+
maxSize: 1024 * 1024 * 16,
7575
// 7 day expired.
7676
expiredTime: addDays(new Date(), 7),
7777
shareId,

0 commit comments

Comments
 (0)