init: 0.0.8

feat: 实现了分片上传
todo:
  1. 上传完成后 code 回显
  2. 清理不用的临时 code file
  3. 断点续传
  4. 多 chunk 并发上传
This commit is contained in:
loveuer
2025-04-30 18:00:29 +08:00
parent b8fda4322f
commit cfd4e8cb6d
11 changed files with 395 additions and 83 deletions

View File

@ -41,7 +41,7 @@ export const PanelRight = () => {
}
async function onFetchFile() {
const url = `/api/share/fetch?code=${code}`
const url = `/api/share/${code}`
console.log('[D] onFetchFile: url =', url)
const link = document.createElement('a');
link.href = url;