单个附件大小不能超过25MB
gmksbk opened this issue · comments
上传附件的时候如果大于25MB就会有提示:文件过大 单个文件大小不能超过25MB。只能分割上传。
直接访问blob,上传文件正常没有大小限制。请问这是什么原因?是否需要在chatnio追加环境变量?
Bot detected the issue body's language is not English, translate it automatically.
Title: The size of a single attachment cannot exceed 25MB
When uploading an attachment, if it is larger than 25MB, a prompt will appear: The file is too large. The size of a single file cannot exceed 25MB. Can only be uploaded in splits.
Directly access the blob, and there is no size limit for uploading files normally. Is this what is the reason? Do I need to append environment variables to chatnio?
Hi,
是 chatnio 的限制,见:
Regards,
Junhai Deng
Hi,
是 chatnio 的限制,见:
Regards, Junhai Deng
感谢,这个能通过环境变量修改吗
Hi,
目前暂时不支持通过使用“环境变量”的方式进行修改,未来近期可能也不会对这部分内容做出修改,评估后可能会在后台添加此功能。
建议您现在可以通过 fork 本仓库后修改此行代码并按照 README 中的步骤进行手动编译部署的形式以实现您在此 issue 中所提到的“更改上传文件大小最大值”同时便于后续与本仓库进行 sync update
Best Regards,
Junhai Deng
Bot detected the issue body's language is not English, translate it automatically.
Hi,
Modification through the use of "environment variables" is currently not supported, and this part of the content may not be modified in the near future. This feature may be added in the background after evaluation.
It is recommended that you now modify this line of code by forking this repository and following the steps in the README to manually compile and deploy it to achieve the "change the maximum upload file size" you mentioned in this issue and to facilitate subsequent cooperation with this repository. Perform sync update
Best Regards,
Junhai Deng
Hi,
目前暂时不支持通过使用“环境变量”的方式进行修改,未来近期可能也不会对这部分内容做出修改,评估后可能会在后台添加此功能。 建议您现在可以通过 fork 本仓库后修改此行代码并按照 README 中的步骤进行手动编译部署的形式以实现您在此 issue 中所提到的“更改上传文件大小最大值”同时便于后续与本仓库进行 sync update
Best Regards, Junhai Deng
感谢
Bot detected the issue body's language is not English, translate it automatically.
Hi,
Modification through the use of "environment variables" is currently not supported, and this part of the content may not be modified in the near future. This function may be added in the background after evaluation. It is recommended that you now modify this line of code by forking this repository and following the steps in the README to manually compile and deploy it to achieve the "change the maximum upload file size" you mentioned in this issue and to facilitate subsequent cooperation with this repository. Perform sync update
Best Regards, Junhai Deng
grateful