diff --git a/scripts/upload-history.js b/scripts/upload-history.js index 2611927..56ed647 100644 --- a/scripts/upload-history.js +++ b/scripts/upload-history.js @@ -82,7 +82,7 @@ deleteBtn.onclick = () => { if (!confirm("删除后文件将无法访问或检索,是否确认删除?")) return; fetch(API_DELETE, { - method: "DELETE", + method: "POST", headers: { "Content-Type": "application/json" },