Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessa4d07212fee99
diff --git a/app/src/config/about.ts b/app/src/config/about.ts
index 0a6843960a..4f4415af23 100644
--- a/app/src/config/about.ts
+++ b/app/src/config/about.ts
@@ -255,10 +255,10 @@ ${checkUpdateHTML}
});
});
about.element.querySelector("#vacuumDataIndex").addEventListener("click", () => {
- fetchPost("/api/system/vacuumDataIndex", {}, (response) => {});
+ fetchPost("/api/system/vacuumDataIndex", {}, () => {});
});
about.element.querySelector("#rebuildDataIndex").addEventListener("click", () => {
- fetchPost("/api/system/rebuildDataIndex", {}, (response) => {});
+ fetchPost("/api/system/rebuildDataIndex", {}, () => {});
});
about.element.querySelector("#exportLog").addEventListener("click", () => {
fetchPost("/api/system/exportLog", {}, (response) => {
diff --git a/app/src/mobile/settings/about.ts b/app/src/mobile/settings/about.ts
index 0266cd7954..ce2988b945 100644
--- a/app/src/mobile/settings/about.ts
+++ b/app/src/mobile/settings/about.ts
@@ -300,12 +300,12 @@ export const initAbout = () => {
event.stopPropagation();
break;
} else if (target.id === "vacuumDataIndex") {
- fetchPost("/api/system/vacuumDataIndex", {}, (response) => {});
+ fetchPost("/api/system/vacuumDataIndex", {}, () => {});
event.preventDefault();
event.stopPropagation();
break;
} else if (target.id === "rebuildDataIndex") {
- fetchPost("/api/system/rebuildDataIndex", {}, (response) => {});
+ fetchPost("/api/system/rebuildDataIndex", {}, () => {});
event.preventDefault();
event.stopPropagation();
break;