Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Bug ]: 使用 @blocklet/uploader 组件的时候,上传超过了 Blocklet Server 的限制的时候,没有报错文件太大,上传成功了 #93

Open
skypesky opened this issue Sep 16, 2023 · 2 comments

Comments

@skypesky
Copy link

skypesky commented Sep 16, 2023

🐛 Bug Report

详细描述

复现这个 bug

截图或报错信息(可选)

image

异常的行为

期望的行为

可能的解决方案(可选)

https://github.com/ArcBlock/did-spaces/issues/808

@FireTable
Copy link
Collaborator

因为有断点续连功能,分了很多 chunk,需要考虑一下兼容 server 的配置

@FireTable
Copy link
Collaborator

前端组件配置 coreProps.restrictions, 参考 https://uppy.io/docs/uppy/#restrictions
配置成 server 限制的大小即可, chunkSize 还是有必要的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants