Skip to content

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

:bug: fix https://github.com/siyuan-note/insider/issues/1099

Vanessa9743702a79a2
diff --git a/app/electron/init.html b/app/electron/init.html
index 0fd6694e61..01f55b8a4a 100644
--- a/app/electron/init.html
+++ b/app/electron/init.html
@@ -361,6 +361,8 @@
})
})
})
+ // 防止内核长时间不用被回收
+ new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws`);
</script>
</body>
</html>