Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/6956

Vanessa3adb7d9ad0a0
diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts
index 41b63d20bc..49045b005d 100644
--- a/app/src/protyle/util/compatibility.ts
+++ b/app/src/protyle/util/compatibility.ts
@@ -221,7 +221,10 @@ const setDefaultStorage = (response: IWebSocketData) => {
};
export const exportLocalStorage = (cb?: () => void) => {
- fetchPost("/api/storage/setLocalStorage", {val: window.siyuan.storage}, () => {
+ fetchPost("/api/storage/setLocalStorage", {
+ app: Constants.SIYUAN_APPID,
+ val: window.siyuan.storage,
+ }, () => {
if (cb) {
cb();
}