fix: remove duplicate url variable declaration in commitUpload.js

This commit is contained in:
axibayuit
2025-12-31 21:46:40 +08:00
parent 807c37c463
commit 579d835255

View File

@@ -112,8 +112,6 @@ export async function onRequestPost(context) {
await db.put(fullId, "", { metadata });
// 结束上传(更新索引等)
// 构造 url 对象用于 endUpload
const url = new URL(request.url);
const uploadContext = {
env,
waitUntil,