Skip to content

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

:rotating_light:

Vanessa9485260f6640
diff --git a/app/src/util/fetch.ts b/app/src/util/fetch.ts
index 1ba43b784b..9a41edc324 100644
--- a/app/src/util/fetch.ts
+++ b/app/src/util/fetch.ts
@@ -67,7 +67,7 @@ export const fetchPost = (url: string, data?: any, cb?: (response: IWebSocketDat
cb(response);
}
}).catch((e) => {
- console.warn("fetch post failed [" + e + "], url [" + url + "]");
+ console.warn("fetch post failed [" + e + "], url [" + url + "]");
if (url === "/api/transactions" && (e.message === "Failed to fetch" || e.message === "Unexpected end of JSON input")) {
kernelError();
return;