mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-01-31 09:03:19 +08:00
Feat:目录功能完善
修复文件移动时元数据中目录记录不更新的问题
This commit is contained in:
@@ -964,6 +964,7 @@ Web端在登录页面输入你的**认证码**即可登录使用;API端需要
|
||||
39. :white_check_mark:~~页脚可自定义隐藏~~(2025.2.4已完成)
|
||||
40. :hourglass_flowing_sand:搜索功能增强
|
||||
41. :white_check_mark:支持粘贴多个链接,支持外链管理
|
||||
42. :hourglass_flowing_sand:上传文件记录MD5,支持文件硬链接
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
@@ -125,6 +125,7 @@ export async function onRequest(context) {
|
||||
|
||||
|
||||
// 其他渠道,直接修改KV中的id为newFileId
|
||||
img.metadata.Folder = dist;
|
||||
await env.img_url.put(newFileId, img.value, { metadata: img.metadata });
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user