fix: change photo max size (#1416)
This commit is contained in:
parent
d4169bf066
commit
af4c732d93
@ -69,9 +69,9 @@ const MessageInput = ({
|
|||||||
const url = await compressImgFileAndUpload({
|
const url = await compressImgFileAndUpload({
|
||||||
type: MongoImageTypeEnum.chatImage,
|
type: MongoImageTypeEnum.chatImage,
|
||||||
file: file.rawFile,
|
file: file.rawFile,
|
||||||
maxW: 4329,
|
maxW: 4320,
|
||||||
maxH: 4329,
|
maxH: 4320,
|
||||||
maxSize: 1024 * 1024 * 5,
|
maxSize: 1024 * 1024 * 16,
|
||||||
// 7 day expired.
|
// 7 day expired.
|
||||||
expiredTime: addDays(new Date(), 7),
|
expiredTime: addDays(new Date(), 7),
|
||||||
shareId,
|
shareId,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user