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

feat: provide components for uploading files #103

Closed
wants to merge 2 commits into from
Closed

feat: provide components for uploading files #103

wants to merge 2 commits into from

Conversation

palp1tate
Copy link
Contributor

No description provided.

if (!token) {
throw new Error('Unable to get upload token')
}
const md5 = await calculateMD5(file)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以试一下用 上传策略 saveKey & 变量etag & ext)来做,由 kodo 去计算 & 拼接出 key,前端从上传的返回结果中获得 key

@nighca
Copy link
Collaborator

nighca commented Feb 22, 2024

#107 跟进

@nighca nighca closed this Feb 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants