mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-01-31 09:03:19 +08:00
fix: remove duplicate url variable declaration in commitUpload.js
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user