From 46ada21f384c4beb2313398734cff5e3cf07aec1 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 20 Jun 2025 11:24:01 +0800 Subject: [PATCH] fix --- scripts/upload-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" },